How to make Register script with a dialog?
#1

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:

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;
}
PS: IF they press Cancel, do Kick(playerid);
Reply


Messages In This Thread
How to make Register script with a dialog? - by GangsTa_ - 29.05.2010, 16:03
Re: How to make Register script with a dialog? - by GangsTa_ - 29.05.2010, 17:35
Re: How to make Register script with a dialog? - by NewTorran - 29.05.2010, 17:36
Re: How to make Register script with a dialog? - by MadeMan - 29.05.2010, 19:31
Re: How to make Register script with a dialog? - by GangsTa_ - 30.05.2010, 04:45
Re: How to make Register script with a dialog? - by Grim_ - 30.05.2010, 04:56
Re: How to make Register script with a dialog? - by Antonio [G-RP] - 30.05.2010, 05:07

Forum Jump:


Users browsing this thread: 1 Guest(s)