Spc Posted March 15, 2018 Posted March 15, 2018 Hey, I want to make a ped attacking player when he will be close to him. Any idea?
kamyrdol32 Posted March 15, 2018 Posted March 15, 2018 https://wiki.multitheftauto.com/wiki/Slothman/Slothbot "guarding"
Spc Posted March 15, 2018 Author Posted March 15, 2018 1 hour ago, kamyrdol32 said: https://wiki.multitheftauto.com/wiki/Slothman/Slothbot "guarding" I don't want to use Slothbot.
XaskeL Posted March 15, 2018 Posted March 15, 2018 (edited) https://wiki.multitheftauto.com/wiki/SetPedControlState SetPedControlState(ped,"fire",true) Look at the code of the attack: npc_hlc Edited March 15, 2018 by XaskeL
Spc Posted March 15, 2018 Author Posted March 15, 2018 The ped will not have weapon (only fist). I want to make him running to the player and attacks him.
Zorgman Posted March 16, 2018 Posted March 16, 2018 Even if you don't want to use slothbot, that resource contains all the answers you are looking for.
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