SA-MP Forums Archive
Forced to follow. - 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: Forced to follow. (/showthread.php?tid=88335)



Forced to follow. - Chrham_2 - 25.07.2009

Hello. I have started an RPG server that has (almost) evrything it needs.
But I want tha cops can use /arm (id) and then the victim is cuffed, and forced to follow the cop.
Unfortunately I don't have the experience to create that.
Would you please give some hints or a tutorial?


Re: Forced to follow. - MadeMan - 25.07.2009

Set TogglePlayerControllable of the victim to 0. Then set a timer that sets that victim's pos near the cop.


Re: Forced to follow. - Abernethy - 25.07.2009

That is a really good idea above me! You should suggest it to other servers.