SA-MP Forums Archive
In-game sync level problem - 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: In-game sync level problem (/showthread.php?tid=522371)



In-game sync level problem - prooftzm - 27.06.2014

Hei all scripters!
I have a small problem ( i think ). It's about in game sync level. I give you an example:
I have level 1, money and RP for level 8. I use /buylevel till i have level 8 and when i pres TAB score is 1. Score is not changing till i relog. Anyone knows what i need to do for in game sync ? i'm using Y_ini. all the stuff, level, money, rp it's save by Y_ini.
Have a good day!


Re: In-game sync level problem - BroZeus - 27.06.2014

did u used SetPlayerScore function on buylevel command


Re: In-game sync level problem - prooftzm - 27.06.2014

Aaaa....ops i use SetPlayerScore on PlayerSpawn.


Re: In-game sync level problem - prooftzm - 27.06.2014

One question. if player have level 1, when he spawn for the first time, his score is 0 and when he buylevel, he normaly need to have score 2 but the score is 1. how can i fix that?