28.04.2010, 16:29
I am pretty new to dini, so I wondered if anyone could help me?
What I want: That it saves the player location on disconnect, and then spawns them at that place
when they logged in.
What I have done so far:
- under OnPlayerDC
- under login
- under register
I have no idea if I have done anything wrong, if so, please help me out.
Thanks in advance.
What I want: That it saves the player location on disconnect, and then spawns them at that place
when they logged in.
What I have done so far:
pawn Код:
dini_IntSet(file,"location", logged[playerid]);
pawn Код:
logged[playerid] = dini_Int(file,"location");
pawn Код:
dini_IntSet(file,"location",0 );
I have no idea if I have done anything wrong, if so, please help me out.
Thanks in advance.