SA-MP Forums Archive
problem with ranking system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: problem with ranking system (/showthread.php?tid=606180)



problem with ranking system - ax1 - 30.04.2016

fixed


Re: problem with ranking system - Konstantinos - 30.04.2016

GetPlayerScore returns the old value.

pawn Код:
score = GetPlayerScore(playerid) + score;
SetPlayerScore(playerid, score);

if(score >= XpToNextLvl[playerid])



Re: fixed - ax1 - 30.04.2016

ok thx, but that was not a solution to my problem

edit : nevermind, i fixed it myself