SA-MP Forums Archive
dm command - 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: dm command (/showthread.php?tid=72291)



dm command - [SW]thekillaer - 07.04.2009

hi I want to Make it so that when the person types /dm it either teleports them to one of these i want it so that when u teleport to the first one the next person teleports to the other one and then the next person to teleports he goes to the first one again so player 1 :1 player 2: 2 player 3: 1 player 4 : 2 and so on

Код:
-785.5453,2449.3425,157.0038, 

-796.7148,2388.9619,154.6799,



Re: dm command - MenaceX^ - 07.04.2009

SetPlayerPos doesn't support angle positions.
Same about GetPlayerPos.


Re: dm command - [SW]thekillaer - 07.04.2009

o edited the cords to show only x,y,z but i still need to know how to do that


Re: dm command - Pyrokid - 07.04.2009

SetPlayerFacingAngle. Use the fourth coordinate (after Z) when you use this function.