Jump to content

Callout help


Lop

Recommended Posts

I am setting up a callout that has to do with an Animal Control stand point. Going along with a tutorial, and using the ExampleAPI as a reference if I have any errors, what would I need to setup as far as callout spawning for animals(cats, dogs, deer) or even animals/peds(owners of the animals)? I'm a beginner who wants to learn how to do this. Any tips will help.

 

 

EDIT: Would I necessarily need to add a pursuit to the callout? Like if I were to add Dog Fighting as a callout, would I need to add a pursuit if I wanted the ped to flee on foot?

Edited by AgentDaquan
Link to comment
Share on other sites

If you look at the RPH website, there's a section where you can search for and view the various ped models, and I think it does the animals as well. If not, there is a list of ped models (including animals) out there, but I'm on my phone, so I don't have the link handy. You just spawn it the same way as if it was a human ped. 

You don't need to trigger a pursuit. That's only if you want the ped to flee from the police. There is a native function that can make Ped A flee from Ped B. The RPH SDK examples have an example on natives, and there may be one in the GitHub repository as well. 

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

Link to comment
Share on other sites

9 minutes ago, Stealth22 said:

If you look at the RPH website, there's a section where you can search for and view the various ped models, and I think it does the animals as well. If not, there is a list of ped models (including animals) out there, but I'm on my phone, so I don't have the link handy. You just spawn it the same way as if it was a human ped. 

You don't need to trigger a pursuit. That's only if you want the ped to flee from the police. There is a native function that can make Ped A flee from Ped B. The RPH SDK examples have an example on natives, and there may be one in the GitHub repository as well. 

Alright, thank you Stealth! 

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