dini problem
#1

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

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...
Reply
#3

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]);*/
Reply
#4

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)