MSGBOX response
#1

Plz little help when i click quit i didnot get kicked what worng
Quote:

ShowPlayerDialog(playerid, SEXMENU, DIALOG_STYLE_MSGBOX, "Headline", "Welcomings message", "Male", "Quit");

Quote:

if(dialogid == SEXMENU)
{
if(response)
{
if(RegistrationStep[playerid] == 1)
{
SetPlayerPos(playerid, 1744.91, -1862.21, 13.5;
PlayerInfo[playerid][pSex] = 1;
RegistrationStep[playerid] = 2;
PlayerInfo[playerid][pChar] = 26;
SendClientMessage(playerid, COLOR_WHITE, "Ok, so you are a Male.");
ShowPlayerDialog(playerid, ORIGINMENU, DIALOG_STYLE_LIST, "What is your Origin?","Asia\nEurope\nAfrica\nNorth America\nSouth America ", "Continue", "Cancel");
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "You selected 'Quit', therefore you got kicked. Goodbye!");
Kick(playerid);
}
}
}
return 1;
}

Reply
#2

Check for errors or warnings.
Reply
#3

Only this is wrong:

pawn Код:
else
   {
        SendClientMessage(playerid, 0xFF0000FF, "You selected 'Quit', therefore you got kicked. Goodbye!");
       Kick(playerid);
       }
xD(why only males can enter ur server? don't understand.. -_-)
Reply
#4

Quote:
Originally Posted by ikarus
Check for errors or warnings.
there no errors
want when poeple quit they get kicked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)