SA-MP Forums Archive
Problem Actors - 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: Problem Actors (/showthread.php?tid=574252)



Problem Actors - norton2 - 15.05.2015

Hey, if I have an actor created on the server and if the actor go by car, you can move from the spot. I want to stay in one place, do not move. But if I get in his car, he moves and I can move where I want.


Re: Problem Actors - norton2 - 15.05.2015

Anyone?


Re: Problem Actors - valych - 15.05.2015

You mean that the actor is able to be moved by car? If i understood correctly, you can surround the actor with objects (e.g. like in some shop), so there wont be any way to reach him with car.
By the way, the actor should be placed back after re-streaming (when you go far away and then come back to him )


Re: Problem Actors - Sellize - 15.05.2015

Hey I was facing the same problem and solved this by setting a timer on OnGameModeInIt and setting the actor to his first position every 5 seconds.