SA-MP Forums Archive
help saving playerpos - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help saving playerpos (/showthread.php?tid=207913)



help saving playerpos - yarrum3 - 07.01.2011

Hi every one im making a event system but i need help saving the player pos if some one can show me what i have to do thanks.


Re: help saving playerpos - Jochemd - 07.01.2011

At the top:
pawn Код:
new Pos[3];
And somewhere, at the place where you want to save it (event start)?
pawn Код:
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);



Re: help saving playerpos - yarrum3 - 07.01.2011

ok i will try


Re: help saving playerpos - yarrum3 - 07.01.2011

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
At the top:
pawn Код:
new Pos[3];
And somewhere, at the place where you want to save it (event start)?
pawn Код:
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
2 things i want to ask is that for max players so it wont get bug and to set it do i just do SetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);


Re: help saving playerpos - yarrum3 - 07.01.2011

Quote:
Originally Posted by yarrum3
Посмотреть сообщение
2 things i want to ask is that for max players so it wont get bug and to set it do i just do SetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);

i Just try the getplayerpos part and it is giving me a tag mismatch


Re: help saving playerpos - yarrum3 - 07.01.2011

well i still can't get this shit to work


Re: help saving playerpos - aircombat - 07.01.2011

i created such a filterscript while ago u can check it here : https://sampforum.blast.hk/showthread.php?tid=139532