dini problem - 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: dini problem (
/showthread.php?tid=511717)
dini problem -
Ananisiki - 07.05.2014
I want to save something in player file, when i type the command /nopm its supposed to save 1 in the file, this works fine, but when i disconnect, it automatically set it to 0, i can't find something on OnPlayerDisconnect, what it can be?
Re: dini problem -
Ananisiki - 07.05.2014
Got another prob now, when im ingame and kill myself, do stuff to gain /stats,
i have a command there it set the favorit skin to the file, and when i look in the file i can see it there (FavoSkin=52)
but when i quit, everything go to 0, this worked before but now it do this...
Re: dini problem -
Ananisiki - 07.05.2014
Fixed.
I had this on onplayerdis, tbh, don't know what it means, can some1 explain?
pawn Код:
/* dini_IntSet(stats, "FavSkin", pStats[playerid][FavSkin]);
dini_IntSet(stats, "FavSkinEnable", pStats[playerid][FavSkinEnable]);
dini_IntSet(stats, "GameYear", pStats[playerid][GameYear]);
dini_IntSet(stats, "ChallengeKills", pStats[playerid][ChallengeKills]);
dini_IntSet(stats, "NoPM", pStats[playerid][NoPM]);
dini_IntSet(stats, "Belt", pStats[playerid][Belt]);*/
Re: dini problem -
Ananisiki - 08.05.2014
bump