Skip to content
View in the app

A better way to browse. Learn more.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mensen kikken als ze de regels niet (....)

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

Welcome to Pawno.

In OnDialogResponse()

if(diablogid==4&&!repone)Kick(playerid);

Voor meer informatie

Edited by GTAguillaume

  • 2 weeks later...

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.

Edited by Never

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. :)

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 ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

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.