Back to community

is there a way to make peds not get scared by gunshots ?

78 rep85 views1 min read

for a roleplay scene i want peds to keep walking even when there's gunshots nearby. tried setting peds to brave with SetPedCombatAttributes but they still flee.

any natives that actually work for this ? thanks

6 3 commentsSign in to vote

Comments (3)

Sign in to leave a comment.
  • also SetPedFleeAttributes(ped, 0, false) clears all flee attrs, combine both for best results

    2 points
    • nikita_xd

      works perfect, thanks both

  • try SetPedConfigFlag(ped, 281, true) - that flag specifically disables the "flee from threat" behavior

    1 points