14.12.2016, 17:06
Nope i don't have any spaces in file.
++ if player not registered, dini_Int automatically create file with -1 values
Look at JokeyL.ini
Example of using:
Use in OnPlayerDeath:
playerInfo[killerid][Kills] += 1;
Load:
playerInfo[playerid][Kills] = dini_Int(path, "pKills");
Save:
dini_IntSet(path, "pKills", playerInfo[playerid][Kills]);
++ if player not registered, dini_Int automatically create file with -1 values
Look at JokeyL.ini
Код:
pLogged=1 pScore=-1 pCash=-1 pKills=-1 pDeaths=-1 pVisits=-1
Use in OnPlayerDeath:
playerInfo[killerid][Kills] += 1;
Load:
playerInfo[playerid][Kills] = dini_Int(path, "pKills");
Save:
dini_IntSet(path, "pKills", playerInfo[playerid][Kills]);