About YINI and enums. - 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: About YINI and enums. (
/showthread.php?tid=558251)
About YINI and enums. -
TheTerminator - 16.01.2015
Basically, I have an enum called Skill Points.
On an admin command, a player gets a skill point given.
It is then written into his enum
PlayerInfo[playerid][pSP]++;
However in a dialogue it doesn't show the .ini file has been updated
but after death or respawning, relogging, the update gets shown.
How can I make it so that the player doesn't have to relog for it to take place?
I use a dialogue list style in which it shows: Skill Points: %d, PlayerInfo[playerid][pSP]
Re: About YINI and enums. -
TheTerminator - 17.01.2015
Fixed it