Hero192 Posted January 21, 2016 Share Posted January 21, 2016 As you see from the topic's name, I am trying to make an arrest system, I want to know how to force the prisoner to follows the cop who arrested him. Link to comment
tosfera Posted January 22, 2016 Share Posted January 22, 2016 Check the distance between the 2, force the client which is following the cop to either run or sprint and press some buttons to make him walk after the cop. Make sure to do this in a fairly short timer to make it as realistic as possible. Functions used, I guess; getElementPosition getDistanceBetweenPoints3D setControlState setTimer Link to comment
Saml1er Posted January 22, 2016 Share Posted January 22, 2016 Not a complete script but at least you will get an idea from it: https://forum.multitheftauto.com/viewtopic.php?f ... it=+Follow Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now