Dini file registration help.
#1

I am trying to add my own little attribute to my dini system, but i cannot get it to work. I used the same variables as the tutorial i read, but i do not understand how to use it in my own way...


What i am doing:


OnPlayerDisconnect
pawn Код:
dini_IntSet(file,"Tutorial",gPlayerInfo[playerid] [Tutorial] = gPlayerInfo[playerid] [Tutorial]);
When My Player Logs In
pawn Код:
gPlayerInfo[playerid] [Tutorial] = dini_Int(file,"Tutorial");
What i want it to do when its done with the tutorial:

pawn Код:
gPlayerInfo[playerid] [Tutorial] = 1;

i just need it to save it to the file, please help (i will post more info if needed)
Reply


Messages In This Thread
Dini file registration help. - by kin - 21.01.2011, 04:45
Re: Dini file registration help. - by Krx17 - 21.01.2011, 05:00
Re: Dini file registration help. - by kin - 21.01.2011, 22:11
Re: Dini file registration help. - by kin - 22.01.2011, 23:15

Forum Jump:


Users browsing this thread: 1 Guest(s)