12.06.2014, 06:10
hey guys im having a weird thing going on i made this command but these are not showing up cant guess why
but that first game text is comming that you must register no matter if person is registred please help me
Код:
public OnPlayerConnect(playerid) { if(PlayerInfo[playerid][Registered] == 0) { new params[128]; GameTextForPlayer(playerid,"~r~Before you can play, you must register!",4000,3); ShowPlayerDialog(playerid, DIALOGID0+1, DIALOG_STYLE_PASSWORD,"Password", params, "OK", "Cancel"); SetTimerEx("DelayKillPlayer", 2500,0,"d",playerid); return 1; } // if(PlayerInfo[playerid][Registered] == 1 && PlayerInfo[playerid][LoggedIn]) { new params[128]; ShowPlayerDialog(playerid, DIALOGID0+2, DIALOG_STYLE_PASSWORD,"You Must Enter Your Password Below", params, "OK", "Cancel"); SetTimerEx("DelayKillPlayer", 2500,0,"d",playerid); return 1; } . . . . . .