GTAPoliceMods Community Team Applications are open! ×
Jump to content
×
×
  • Create New...
  • 0

FIVEPD Specific Department Callouts.


xIconikkx
 Share

Question

Hi, been trying now for a couple days to get configs working for call-outs.

 

Callouts currently get spread to all departments when set not to.


Fire call-outs that are still received in departments 1-4.


 

{
    "PedestrianStruck":{
        "IgnoreDistance": false, 
        "MinTimeout": 0, 
        "Probability": 1, 
        "ShowRoute": true,
        "Departments":[10]
    },
    "LargeStructureFire":{
        "IgnoreDistance": false, 
        "MinTimeout": 0, 
        "Probability": 1, 
        "ShowRoute": true,
        "Departments":[10]
    },
    "BrushFire":{
        "IgnoreDistance":false, 
        "MinTimeout": 0, 
        "Probability": 1, 
        "ShowRoute": true,
        "Departments":[10]
    },
    "StructureFire":{
        "IgnoreDistance":false, 
        "MinTimeout": 0, 
        "Probability": 1, 
        "ShowRoute": true,
        "Departments":[10]
    },
    "VehicleCollision":{
        "IgnoreDistance":false, 
        "MinTimeout": 0, 
        "Probability": 1, 
        "ShowRoute": true,
        "Departments":[10]
    },
    "CarFire":{
        "IgnoreDistance":false, 
        "MinTimeout": 0, 
        "Probability": 1, 
        "ShowRoute": true,
        "Departments":[10]
    },
    "AircraftFire":{
        "IgnoreDistance":false, 
        "MinTimeout": 0, 
        "Probability": 1, 
        "ShowRoute": true,
        "Departments":[10]
    }
}

 

cyclist on motorway that’s still gets dispatched to department 10 [Fire]
 

{
    "IgnoreDistance": false,
    "MinTimeout": 0,
    "Probability": 1,
    "ShowRoute": true,
    "Departments":[1,2,3,4]
}

 

Edited by xIconikkx
Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

I don't believe these options are native to callouts meaning that the developers need to code this feature in. So if they didn't code the department specific feature it probably won't work. Keep in mind I don't usually write callouts so I'm just going off of what I have been able to look up

Link to post
Share on other sites

  • 0
4 hours ago, Grandpa Rex said:

I don't believe these options are native to callouts meaning that the developers need to code this feature in. So if they didn't code the department specific feature it probably won't work. Keep in mind I don't usually write callouts so I'm just going off of what I have been able to look up

I would like to believe that. But it doe's not say that in the documents.

 

af14d617403b673dfceb99d575a11fc9.png

 

Really need a dev to clarify this...

Link to post
Share on other sites

  • 0
  • Community Administrator

The callout developer doesn't have to make it so that it's department specific. You just need the correct class name for the callout which you will likely have to get from the developer if it's not an open source callout.

Cipher2.png

 

Community Administrator

Link to post
Share on other sites

  • 0
42 minutes ago, TheCipher01 said:

The callout developer doesn't have to make it so that it's department specific. You just need the correct class name for the callout which you will likely have to get from the developer if it's not an open source callout.

Even if its a single callout I still need the class name?

 

Thank you.

Link to post
Share on other sites

  • 0
30 minutes ago, xIconikkx said:

Even if its a single callout I still need the class name?

 

Thank you.

I just did this. I got the same callout on Department 1 & 10.

 

This is the class name from the .dll file for Tresspassing

 

681a541fdd5b5c5749aae42766a0b4fe.png

 

 

{
		"Trespassing": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 2,
		"Departments": [10]
	}
}

 

Link to post
Share on other sites

  • 0

It appears you are using DotPeek. If you are just getting the class names of the callouts, they are here on the left hand sideimage.thumb.png.ff6402b98286a9d6964720661b74431e.pngimage.png.8c27ad51f3e44f41da7f974109b0a677.png

 

For example in my Bar Fights callout pack, they are BarFightNonViolent and BarFightViolent

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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Important Information

Thanks for visiting GPM. As a user of the GTAPoliceMods platform, we ask that you review the Terms of Use, Privacy Policy, and Guidelines. These principles allow us to continue fostering a great community. We have placed cookies on your device to help improve your experience. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.