01.09.2016, 13:41
You can use this to simplify registration: https://sampforum.blast.hk/showthread.php?tid=616023
But to the fix the problem, replace this:
With this:
And make sure to write everything under the [Data] tag.
Or else, you can remove all of the tags, and load the whole file under one callback.
But to the fix the problem, replace this:
Код:
INI_ParseFile(User(playerid), "PlayerData_Data", .bExtra = true, .extra = playerid);
Код:
INI_ParseFile(User(playerid), "PlayerData_%s", .bExtra = true, .extra = playerid);
Or else, you can remove all of the tags, and load the whole file under one callback.