lolek123 Posted August 18, 2012 Share Posted August 18, 2012 As I said in the subject, I need to make a ped pickup an object after typing in the command, which works only beside the object itself, can anyone please help? Thanks. Link to comment
Guest Guest4401 Posted August 18, 2012 Share Posted August 18, 2012 There are multiple ways to check if you're nearby an object. You can use getDistanceBetweenPoints3D to check if the ped is close enough the object or not. Otherwise, if you wish to check if the ped is within a marker, then you can use isElementWithinMarker. 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