Old position back after duel? - 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: Old position back after duel? (
/showthread.php?tid=427743)
Old position back after duel? -
Lorenzosdm - 02.04.2013
How can is save the positions before they get TPed to the duel area and than when there is a winner the winner get TPed back to his old position??
Re: Old position back after duel? -
Hanger - 02.04.2013
Save the position before they are getting tped using GetPlayerPos with global Float-arrays.
Teleport them back using those global float-arrays.
Re: Old position back after duel? -
Lorenzosdm - 02.04.2013
Thanks should try it tomorrow!