20.03.2011, 21:02
not tested, but try:
At the enum put:
Position,
after, under the register cmd, put:
Under OnPlayerSpawn put:
OnPlayerDisconnect
I REPEAT, I didn't test and have not sure if work, but is something like this!
At the enum put:
Position,
after, under the register cmd, put:
pawn Код:
dini_IntSet(file,"Position", 0);
pawn Код:
SetPlayerPos(playerid, dini_Int(file, "Position"));
pawn Код:
new Float:X, Float:Y, Float:Z;
dini_IntSet(file,"Position",GetPlayerPos(X, Y, Z));