[Account Help]Saving Issues
#3

So you write the data upon disconnect, what's the point of the SaveUserData function?

PHP код:
OnPlayerDisconnect(playeridreason) { SaveUserData(playerid); }; 
PHP код:
OnPlayerSpawn(playerid) { GivePlayerMoney(playeridPlayerInfo[playerid][pCash]); SetPlayerSkin(playeridPlayerInfo[playerid][pSkin]); } 
Use OnPlayerSpawn as a debugging method, and try creating a seperate function to be called once the player is actually logged in.
Reply


Messages In This Thread
[Account Help]Saving Issues - by SantarioLeone - 12.10.2011, 02:01
Re: [Account Help]Saving Issues - by [HiC]TheKiller - 12.10.2011, 02:07
Re: [Account Help]Saving Issues - by Kush - 12.10.2011, 02:22
Re: [Account Help]Saving Issues - by SantarioLeone - 12.10.2011, 02:39
Re: [Account Help]Saving Issues - by Kush - 12.10.2011, 02:52
Re: [Account Help]Saving Issues - by SantarioLeone - 12.10.2011, 17:59

Forum Jump:


Users browsing this thread: 2 Guest(s)