Not Saving Anything
#4

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
  IsLogged[playerid] = 0;
    new Float:x;
    new Float:y;
    new Float:z;
   
 
   
   
 
    GetPlayerPos(playerid,x,y,z);
    positionx = x;
    positiony = y;
    positionz = z;
   
    SavePos(playerid);
   
   
    return 1;
}

you should add Saving functions: kills,score,skin and other things to OnPlayerDisconnect then it saves.


Reply


Messages In This Thread
Not Saving Anything - by TKZ227 - 21.06.2010, 17:30
Re: Not Saving Anything - by Hiddos - 21.06.2010, 18:29
Re: Not Saving Anything - by TKZ227 - 22.06.2010, 00:27
Re: Not Saving Anything - by titanak - 22.06.2010, 00:35
Re: Not Saving Anything - by Antonio [G-RP] - 22.06.2010, 00:53
Re: Not Saving Anything - by TKZ227 - 22.06.2010, 01:44
Re: Not Saving Anything - by Antonio [G-RP] - 22.06.2010, 01:48
Re: Not Saving Anything - by titanak - 22.06.2010, 02:16
Re: Not Saving Anything - by TKZ227 - 22.06.2010, 02:31
Re: Not Saving Anything - by Antonio [G-RP] - 22.06.2010, 02:49

Forum Jump:


Users browsing this thread: 1 Guest(s)