Jump to content

How to make a prisoner follows the cop


Hero192

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...