Problem with save accounts on the server..
#6

hi ,this is a stupid error ^^
Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(PlayerInEvent[playerid] != 0)
    {
        EventPlayers --;
    }
    DestroyVehicle(PlayerCar[playerid]);
    SaveAccounts(playerid); // add this variable
    OnPlayerDataSave(playerid);
    //ResetStats(playerid); and delete this variable =)
	return 1;
}
+1 rep plz =)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)