Mark Gamer Posted July 5, 2017 Share Posted July 5, 2017 Can i do that like vice city or gtasa or gta 5 the ped drive the vehicle? in a correct way and stop if is a vehicle front it Link to comment
WorthlessCynomys Posted July 5, 2017 Share Posted July 5, 2017 You can make a ped drive a vehicle. In a straight line. You can stop a ped if there's a vehicle in front of it. To actually make an AI that drives around on the map... it's nearly impossible. To answer your question. createPed() createVehicle() createColCuboid() attachElements() warpPedIntoVehicle() setPedControlState() onColShapeHit 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