SA-MP Forums Archive
Auto Position Saver problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Auto Position Saver problem (/showthread.php?tid=353838)



Auto Position Saver problem - RyanPetersons - 24.06.2012

Actually, i wrote on the top under the includes "new Float:XX,Float:Y,Float:Z;"
Then OnPlayerConnect, i wrote "SetPlayerPos(playerid,Float:XX,Float:Y,Float: Z);"
then onPlayerDisconnect i wrote "GetPlayerPos(playerid,Float:XX,Float:Y,Float: Z);

Theres no error or warning but it doesn't works

Its single X not double i just added double because then it will be a funny face


Re: Auto Position Saver problem - TheArcher - 24.06.2012

Is better if you call "SetPlayerPos(playerid,Float:XX,Float:Y,Float: Z);" on
pawn Код:
public OnPlayerSpawn(playerid)
.

P.S i dont really know where did you save the position.