[Help] Crowd control

I am currently developing a script and I need pedestrians to ignore player’s shots/knife kills.
Is there a native function for that?

I think this native should do the job:
https://runtime.fivem.net/doc/reference.html#_0x8EEDA153AD141BA4

You can also set the peds “alertness” via this native:
https://runtime.fivem.net/doc/reference.html#_0xDBA71115ED9941A6

I dont know about the latter native, how feasible that is for setting the alertness for each ped in the players vincinity. But worth is if the first native doesn’t work.

1 Like

Thanks, that should do it :slight_smile: