Small problem with kills/money save
#1

What and where i have to put in the script to save the money and kills when player disconnect.Example here.?.:
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(PlayerInEvent[playerid] != 0)
    {
        EventPlayers --;
    }
    DestroyVehicle(PlayerCar[playerid]);
    OnPlayerDataSave(playerid);
    ResetStats(playerid);
    return 1;
}
EDIT:They don't save when I stop the server.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)