22.11.2011, 10:11
pawn Code:
if(!fexist(UserPath(playerid))) ShowPlayerDialog(playerid, REGISTER, DIALOG_STYLE_INPUT,"{B0B0B0}Register","{FFFFFF}Type your password below to register a new account.","Register","Cancel");
else ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_INPUT,"{B0B0B0}Login","{FFFFFF}Welcome back to {33E82A}San Andreas Stunt Evolution.{FFFFFF}\n\nThis account is already registered.Login to access your account:","Login","Cancel");
pawn Code:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);