Jump to content

[SOLVED] AddCopToPursuit() broken?


Vaskulis

Recommended Posts

Whenever I try to use that function, the cops I used it on, just stand/drive around, don't get any blips and ignore the fleeing suspect. Requesting backup like normal works.

When the pursuit ends, they are dismissed and continue their patrol or whatever...

Did I miss something? Has anyone else ever had that problem?

 

EDIT: Fixed it. Turns out you have to have a suspect in your pursuit before you add cops, not the other way around. Maybe this should be included in the API guides and documentations ( @Albo1125, @ToastinYou, @LukeD ?) If it's already in there and I just couldn't read, I am sorry!

Edited by Vaskulis
Link to comment
Share on other sites

12 hours ago, Vaskulis said:

Whenever I try to use that function, the cops I used it on, just stand/drive around, don't get any blips and ignore the fleeing suspect. Requesting backup like normal works.

When the pursuit ends, they are dismissed and continue their patrol or whatever...

Did I miss something? Has anyone else ever had that problem?

 

EDIT: Fixed it. Turns out you have to have a suspect in your pursuit before you add cops, not the other way around. Maybe this should be included in the API guides and documentations ( @Albo1125, @ToastinYou, @LukeD ?) If it's already in there and I just couldn't read, I am sorry!

Well you can't add a cop to a pursuit if there is no pursuit..
Think about it :P

Link to comment
Share on other sites

39 minutes ago, ToastinYou said:

Well you can't add a cop to a pursuit if there is no pursuit..
Think about it :P

Yeah, that's what I thought, but the thing is, the cops wont get dismissed until after the pursuit isn't active any more (suspect killed or arrested) and that's why I thought it was something else and just couldn't figure it out.
Then again, 4 in the morning isn't really a good time to try and find a solution to any problem. Next time I'll sleep on it... ^^

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