21.09.2012, 22:23
I'm trying to make so when a player connects to the server, when they spawn, they have to agree to the rules, and if they don't, it kicks them, but only the first half of it works.. I'm clueless xD
pawn Код:
if(response)
{
switch(dialogid)
{
case 1244:
{
if(response)
{
SendClientMessage(playerid, COLOR_RED, "You've agreed to the terms and conditions, failure to comply with them will get you banned");
}
else
{
SendClientMessage(playerid, COLOR_RED, "You've declined the rules, you have been disconnected");
Kick(playerid);
}
return 1;
}