Jump to content

Force pullover


Sputtman

Recommended Posts

Hello.
I working on a callout and i have a parked vehicle with people inside it, how do i force this vehicle to already be pullovered?

I dont want to use police car to make the pullover because then they will drive away and then stop.

functions.setpedasstopped only make them leave vehicle, i want them still in the car.



Br
Sputtman

Edited by Sputtman
Forgot some text

Spedow#2407

Link to comment
Share on other sites

@Sputtman

There is an lspdfr api function that has been added a while ago. I guess this is what you need.

 

StartPulloverOnParkedVehicle()

 

Edited by ziipzaaapM16A4

Take a look at my Plugins:

AmbientAICallouts: Ai get calls too. Callouts can turn into a backup request for the player [YouTube Link]

Search Vehicle Plugin: Simple and more Immersive Vehicle Search Plugin [YouTube Link]

What Was You Name Again?: Get the name of a Suspect even when arrested and placed in your Vehicle [YouTube Link]
Corpse Inspection:  Investigate the corpse. Interact and search for details in a more Cinematic way  [YouTube Link]
[WIP] EnvoirementalCallouts: A couple of Callouts and WorldEvents that are likely to happen to you while you're on duty [Youtube Link]

[OnHold] EMS Support: Be the First Responder of Medical Emergency's and do CPR on Patients [YouTube Link]

 

spacer.png

Checkout my Patreon for Early Access to my mods                                       checkout my Discord Server

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...