Jump to content

Make the person who shoot will not be wanted


Hero192

Recommended Posts

Well, you need to check if the attacker/shooter is in a team and if that team's name is "Police" (or whatever) and then simply not give a wanted level, but do give a wanted level if that's not the case.

+ you will need to check if they shoot with silenced gun.

Also it depends on how you're setting player's wanted levels.

Functions:

getPlayerTeam 
getTeamName 
getPlayerWantedLevel 
setPlayerWantedLevel 
getPedWeapon 

Events:

onPlayerDamage 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...