Save player status
#8

Quote:
Originally Posted by Thanks
Посмотреть сообщение
I want same but why the score & money dose not saved? can u help me w
try with this

PHP код:
DOF2_SetInt(file"Money",GetPlayerMoney(playerid)); 
    
DOF2_SetInt(file"Score",GetPlayerScore(playerid)); 
But, there is also may be a problem. When you set Money/Score, you must also set that in enum
PHP код:
PlayerInfo[playerid][pMoney] += sum;
SetPlayerMoney(playeridPlayerInfo[playerid][pMoney]); 
Reply


Messages In This Thread
Save player status - by Thanks - 15.08.2018, 20:39
Re: Save player status - by Thanks - 16.08.2018, 23:21
Re: Save player status - by NeXTGoD - 16.08.2018, 23:50
Re: Save player status - by Thanks - 17.08.2018, 00:22
Re: Save player status - by GameOvr - 17.08.2018, 03:38
Re: Save player status - by Dayrion - 17.08.2018, 04:12
Re: Save player status - by Thanks - 17.08.2018, 20:44
Re: Save player status - by Unkovic - 17.08.2018, 21:02

Forum Jump:


Users browsing this thread: 2 Guest(s)