About YINI and enums.
#1

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]
Reply
#2

Fixed it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)