22.08.2011, 08:19
(
Last edited by BigAl; 22/08/2011 at 10:07 AM.
)
I want it to kick the player if he click Disagree... but it doesn't work.
Code:
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Server Rules:", "1. No Hacks, except drift lines \n2. No Deathmatching outside of designated DM areas \n3. Respect other players, especially admins \n4. Consider yourself warned!", "I Agree", "I Disagree");
Code:
if(dialogid == 2)
{
if(!response)
{
SendClientMessage(playerid, COLOR_RED, "You Disagree with the rules, therefore you were kicked");
Kick(playerid);
return 1;
}
}
}
}
return 0;
}


