/drag cmd help - 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: /drag cmd help (
/showthread.php?tid=267996)
/drag cmd help -
Jimbo01 - 10.07.2011
i have a /drag playerid command. It's a cop command wich is teleporting the player where the cop is going (so the player follows him automaticly where the cop goes).
The problem is if the cop dies, it still teleports the player to him
I must to put this " DragOff[giveplayerid] = -1; " somehow under Onplayerdeath but cant put it like this. Any ideas ?
AW: /drag cmd help -
Jimbo01 - 10.07.2011
The code is here 2nd post
http://forum.sa-mp.com/showthread.ph...hlight=dragoff