12.03.2013, 20:43
Alright another question as my brain will not work today.. where should i put the resets?
Код:
public OnPlayerConnect(playerid) { if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit"); } else { ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit"); } if(PlayerInfo[playerid][pVip] >=1 ) { SendClientMessage(playerid, COLOR_VIOLET, "Welcome back to Urban Gang-Wars, VIP. Make sure to use /vhelp for your special commands."); } return 1; }