Jump to content
CowNation

How to make a cop pull over a ped

Recommended Posts

How do you force a cop that you spawned to pull over another ped that I spawned's car?

I'm trying to make a callout and when you arrive on scene, a cop has pulled over a ped. Just like Albo's callout.

Edited by CowNation

C++, C#, and Python dev with a dream.. and depression

Share this post


Link to post
Share on other sites

I don't think there is something already built in for this, I think you should just spawn 2 cars (Police car and suspect's vehicle) and the 2 peds and make them stand still and then you can do whatever you want

Share this post


Link to post
Share on other sites
23 minutes ago, HazyTube said:

I don't think there is something already built in for this, I think you should just spawn 2 cars (Police car and suspect's vehicle) and the 2 peds and make them stand still and then you can do whatever you want

Is that how ya figure albo does it??


C++, C#, and Python dev with a dream.. and depression

Share this post


Link to post
Share on other sites
8 minutes ago, CowNation said:

Is that how ya figure albo does it??

I think so, There isn't really a thing in the SDK to do this automaticly, this is the easiest way i gues. And I don't know how albo does it, since he is a very, very experienced developer.

Share this post


Link to post
Share on other sites
On 7/31/2018 at 12:09 PM, CowNation said:

Is that how ya figure albo does it??

 

on albo's traffic stop backup callout, he spawned a ped driver with a car and a police with a car on a predefined location (Vector3).

You just need to collect those locations from various area and put it in a list. later on you must randomize it (or get the closest one).

Share this post


Link to post
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...