15.06.2011, 05:08
Hello. I'd like to find out why my server isnt saving accounts, I am using MySQL with KINGJ. And using a unique script..
Can anyone help?
Can anyone help?
public OnPlayerDisconnect(playerid) { KillTimer(TimerData[CharacterTimer][playerid]); if(Harvesting2[playerid] == true) { DestroyObject(CurrentHarvestPlant[playerid]); } if(IsPlayerLoggedIn(playerid)) { SaveAccount(playerid); format(string, sizeof(string), "[Local]: %s has left the server.",GetUserName(playerid)); SendLocalMessage(playerid, string, 20.0, COLOR_WHITE, COLOR_WHITE); DestroyVehicle(MyASpawnedV[playerid]); } return 1; }