25.03.2010, 17:45
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; } |