30.11.2010, 14:29
Oh also:
Код:
COMMAND:login(playerid, params[]) { if(logged[playerid] == 1) return SendClientMessage(playerid, red, "You are already logged in."); ShowPlayerDialog(playerid,200,DIALOG_STYLE_INPUT,"Login","Please enter a password to login to this account!","Login","Cancel"); return 1; } COMMAND:register(playerid, params[]) { ShowPlayerDialog(playerid,201,DIALOG_STYLE_INPUT,"Registration","Please enter a password to register this account!","Register","Cancel"); return 1; }