Help with saving position and loading it [Dini]
#2

pawn Код:
public OnPlayerDisconnect(playerid,reason)
new Float:x, Float:y, Float:z;
dini_IntSet(file, "Pos", GetPlayerPos(playerid, x, y, z));

public OnPlayerSpawn(playerid)
SetPlayerPos(playerid, dini_Int(file, "Pos"));
Try it
Reply


Messages In This Thread
Help with saving position and loading it [Dini] - by [JnA]DukeNukem - 21.12.2010, 18:23
Re: Help with saving position and loading it [Dini] - by akis_tze - 21.12.2010, 18:38
Re: Help with saving position and loading it [Dini] - by [JnA]DukeNukem - 22.12.2010, 05:07

Forum Jump:


Users browsing this thread: 1 Guest(s)