16.01.2015, 14:55
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]
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]