29.05.2010, 16:03
Hi guys.
I wanna know how to make a register system with dialogs with Register first, then Login, Then if its a wrong password to kick the player, and to give players 60 seconds to write password (Can be without that).
It should look like that:
PS: IF they press Cancel, do Kick(playerid);
I wanna know how to make a register system with dialogs with Register first, then Login, Then if its a wrong password to kick the player, and to give players 60 seconds to write password (Can be without that).
It should look like that:
pawn Code:
public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid,1,1,"Register:","Write Password below","Register","Cancel");
return 1;
}
public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid,1,1,"Login:","Write Password below","Login","Cancel");
return 1;
}