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