Saving data.
#2

PHP Code:
SetPlayerScore(playeridscore); 
You're setting the score, but not the var in pData use GetPlayerScore for the stats
PHP Code:
format(strsizeof(str),"Your Stats\nScore: %d\nKills: %i\nDeaths: %i\nKD-Ratio: %0.2f\nMoney: %i\nXP: %i\nVIP Level: %i",GetPlayerScore(playerid),pData[playerid][Kills],pData[playerid][Deaths],kd,pData[playerid][Money],pData[playerid][EXPE],pData[playerid][VIP]); 
Reply


Messages In This Thread
Saving data. - by yvoms - 06.12.2015, 22:16
Re: Saving data. - by itsCody - 06.12.2015, 22:29
Re: Saving data. - by yvoms - 06.12.2015, 22:42
Re: Saving data. - by yvoms - 06.12.2015, 22:44
Re: Saving data. - by itsCody - 06.12.2015, 23:49

Forum Jump:


Users browsing this thread: 1 Guest(s)