31.05.2016, 16:40
Код:
#if AUTOSAVE == true SetTimerEx("Save_Players",AUTOSAVE_INTERVAL*1000,true); //Start the autosave timer if enabled #endif
Код:
/*case DIALOG_LOGIN: { if (!response) return Kick(playerid); if(response) { if(inputtext) == PlayerInfo[playerid][pPassword]) { INI_ParseFile(Path(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); format(string, sizeof(string), "SERVER:{FFFFFF} Welcome back, %s!", pname); SendClientMessage(playerid, 0x46E850FF, string); Logged[playerid] = true; SetSpawnInfo(playerid, 0, 0, -162.9535, 158.3127, 53.8754, 0.00, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); } else ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", "{FFFFFF}You have entered an {C44B4B}incorrect{FFFFFF} password.\nType your password below to login.", "Login", "Quit"); return 1; } }*/
Any ideas?