harryh Posted March 17, 2017 Share Posted March 17, 2017 (edited) What functions would I need to use to get a ped to follow a player with a walking animation. Unsure how I would do it as with setElementPosition it will teleport. and not walk. Puedocode: getPedInformation createPed with info spawn Ped Set to follow the player In and out of cars etc. Edited March 17, 2017 by harryh Link to comment
Gordon_G Posted March 17, 2017 Share Posted March 17, 2017 (edited) And you could use too the sloth bot ressource, it's easy to use : https://wiki.multitheftauto.com/wiki/Slothman/Slothbot You can choose the bot mod as you can read in this wiki. But, as far I remember, the bot will'nt go in the you vehicle, so, use setPedControlState() (as TheMOG said) But, you'll need to check when a player go inside a vehicle (an event, so) : OnPlayerVehicleEnter Good luck ! Edited March 17, 2017 by Gordon_G Link to comment
harryh Posted March 17, 2017 Author Share Posted March 17, 2017 Thank you for your help @Gordon_G @TheMOG 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