Quote:
Originally Posted by Gustavo_Araujo
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) // Login Dialogue { if(!response) return SendClientMessage(playerid, 0xFFFFFFFF, "You clicked Quit"),Kick(playerid); if(strlen(inputtext) >= 1) return SendClientMessage(playerid, 0xFFFFFFFF, "Strlen was > 1"); if(strlen(inputtext) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "Please actually enter a password"),ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", "That account already exists!\n Please enter your password below:", "Login", "Quit"); } return 1; }
|
It's still spawning my character after showing the menu for the second time. here's my onplayerspawn but I doubt that it's the problem.
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid, 125);
SetPlayerInterior(playerid,0);
TogglePlayerClock(playerid,0);
SendClientMessage(playerid, COLOR_WHITE, "Spawned");
return 1;
}