Help with 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)
+--- Thread: Help with command (
/showthread.php?tid=320240)
Help with command -
viddo - 22.02.2012
I tried to make a cmd "/isolate" for players that they can tp OTHER players to certain place 'setplayerpos' But i dont know how to make the player teleport another player i only know how can a player tp himself.
AW: Help with command -
Campbell- - 22.02.2012
Check the following links:
https://sampwiki.blast.hk/wiki/Function:GetPlayerPos
https://sampwiki.blast.hk/wiki/SetPlayerPos
Get the position of the player you would like to teleport to and then set your position to the one you received in the GetPlayerPos-Function.