Jump to content
Bekijk in de app

Een betere weg om onze GTA community te volgen. Leer meer.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

Een volledig scherm app op het beginscherm inclusief notificaties, badges en meer.

Om deze app op je iPhone en iPad te installeren
  1. Druk op het icoon in Safari
  2. Scroll in het menu en druk op Zet op beginscherm.
  3. Druk op Voeg toe rechts bovenaan.
Om deze app op je Android toe te voegen
  1. Druk op het 3-punten menu (⋮) rechts bovenaan in de browser.
  2. Druk op Toevoegen aan beginscherm of Installeer app.
  3. Druk op Toevoegen om te bevestigen.
Geplaatst:
comment_1738658

Hoi, als je mijn server binnekomt heb ik dat je de regels ziet in een dialog box, je kan ze accpteren of "f*cken"

Maar, ik wil nu, als je ze "f*ckt" dat je gekikt word van de server, hoe zou dit kunnen?

de dialog is zo:

ShowPlayerDialog(playerid,4,DIALOG_STYLE_MSGBOX,"Rules","1. No spamming \n 2. No Hacking/Cheating \n 3. Respect the Admin \n 4. Only DM in DM Zones \n 5. Dont carjack \n  6. No Swearing","Accept","Fuck the rules");

Featured Replies

  • 2 weken later...
Geplaatst:
comment_1743758

Hoi, als je mijn server binnekomt heb ik dat je de regels ziet in een dialog box, je kan ze accpteren of "f*cken"

Maar, ik wil nu, als je ze "f*ckt" dat je gekikt word van de server, hoe zou dit kunnen?

de dialog is zo:

ShowPlayerDialog(playerid,4,DIALOG_STYLE_MSGBOX,"Rules","1. No spamming \n 2. No Hacking/Cheating \n 3. Respect the Admin \n 4. Only DM in DM Zones \n 5. Dont carjack \n  6. No Swearing","Accept","Fuck the rules");

Hallo, ik heb geprobeerd om je te helpen maar ik kom er niet uit :s (Sorry)

dit is de script:

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
	if(response)
	{
	  SendClientMessage(playerid,0x008000FF, "You have Accepted the Rules, Enjoy ur Stay.");
	}
	else
	{
	  SendClientMessage(playerid, 0xFF0000FF, "You have not Accepted the Rules.");
	  Kick(playerid);
	}
	return 1;
}
return 0;
}

dus ik d8 misschien weeet iemand om dit te fixen ;)

Alavast Bedankt.

Bewerkt: door Never

Geplaatst:
comment_1743795

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
       if(dialogid == 4)
       {
               if(response)
               {
                 SendClientMessage(playerid,0x008000FF, "You have Accepted the Rules, Enjoy ur Stay.");
               }
               else
               {
                 SendClientMessage(playerid, 0xFF0000FF, "You have not Accepted the Rules.");
                 Kick(playerid);
               }
               return 1;
       }
       return 0;
}

Even de dialogid in de if veranderd naar 4 want dat is zijn dialogid, voor de rest had je het juist Never. :)

Geplaatst:
comment_1743801

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
       if(dialogid == 4)
       {
               if(response)
               {
                 SendClientMessage(playerid,0x008000FF, "You have Accepted the Rules, Enjoy ur Stay.");
               }
               else
               {
                 SendClientMessage(playerid, 0xFF0000FF, "You have not Accepted the Rules.");
                 Kick(playerid);
               }
               return 1;
       }
       return 0;
}

Even de dialogid in de if veranderd naar 4 want dat is zijn dialogid, voor de rest had je het juist Never. :)

o_O had het niet eens door ;p

heel erg bedankt megadreams ;)

Een reactie plaatsen

Je kan nu een reactie plaatsen en pas achteraf registreren. Als je al lid bent, log eerst in om met je eigen account een reactie te plaatsen.

Gast
Op dit onderwerp reageren...

Recent actief 0

  • Er zijn hier geen geregistreerde gebruikers aanwezig.

Configureer push berichten

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.