Developing_Mind Posted March 17, 2018 Share Posted March 17, 2018 Hello everybody, whenever I let a ped spawn and make it attack the player character (via Task.FightAgainst()), the player character gains a wanted level. How can I avoid gaining that wanted level? I still want to be able to gain wanted levels, I just don't want such an attack to trigger it. Link to comment Share on other sites More sharing options...
Developing_Mind Posted April 4, 2018 Author Share Posted April 4, 2018 Nobody? Seriously? Link to comment Share on other sites More sharing options...
NModds Posted April 4, 2018 Share Posted April 4, 2018 I don't know if there are any flags that let you disable this all together but another solution: check if the player isinmelee combat and if the player has a wanted level > 0 then set wanted level back to 0. Link to comment Share on other sites More sharing options...
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