Jump to content

More control over pursuit peds [Pursuit Deterrence]


PawelSad12

Recommended Posts

Hello guys, I was wondering how the author of this plugin....

.... managed to force the pursuit peds to "surrender". It seems like they play the "cower" animation which is just endlessly looped...  however I haven't figured out how to achieve similar effect in my little, "made-for-fun" plugins. Applying these two...

NativeFunction.Natives.TASK_HANDS_UP(Shooter);
Shooter.Tasks.PutHandsUp(20000, Game.LocalPlayer.Character);

... scratched the surface of the problem, since the pursuit ped paused for a second to play the animation but then the pursuit script took over again... I would appreciate any word of an advice. Thanks!

Link to comment
Share on other sites

You can use the LSPDFR API to change how a ped in a pursuit will behave. 

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...