Player position not saved on crash/timeout
#2

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new temp[pInfo];
    PlayerTextDrawDestroy(playerid, TxtZones[playerid]);
    PlayerTextDrawDestroy(playerid, SpeedoText[playerid]);
    if(HasTrash[playerid]) Trash_ResetPlayer(playerid);
    if(PlayerInfo[playerid][Vehicle] > 0) DestroyVehicle(pvehicle[playerid][0]);
    Cash[playerid]=0;
    Help[playerid] = 0;
       if( LoggedIn[playerid] == 1)
    {
        SaveAccountStats(playerid);
        LoggedIn[playerid]=0; // try to remove it
    }
LoggedIn[playerid]=0; // try to remove it
Reply


Messages In This Thread
Player position not saved on crash/timeout - by Tass007 - 21.09.2016, 06:48
Re: Player position not saved on crash/timeout - by bboytimix - 21.09.2016, 07:33
Re: Player position not saved on crash/timeout - by bboytimix - 21.09.2016, 07:36
Re: Player position not saved on crash/timeout - by Tass007 - 21.09.2016, 11:10
Re: Player position not saved on crash/timeout - by jlalt - 21.09.2016, 11:16
Re: Player position not saved on crash/timeout - by Konstantinos - 21.09.2016, 11:46
Re: Player position not saved on crash/timeout - by Tass007 - 21.09.2016, 12:11
Re: Player position not saved on crash/timeout - by Konstantinos - 21.09.2016, 13:12

Forum Jump:


Users browsing this thread: 1 Guest(s)