$200 Steam Giftcard Raffle | Sponsored by TF1A3 ×
Jump to content
×
×
  • Create New...
  • 0

Callout configs not limiting to departments


Kaspr
 Share

Reason for Locking
No response. If the issue persists, open a new thread.

By Alex W., on 04/08/22 08:08 PM.

Question

I have this config file for a callout (EscapedPrisioner) and it is not part of a bundle. My character is in Department 7 and I still get the callout (it's not just this one its all of them, this is just for example)
 

{
  "IgnoreDistance":true,
  "MinTimeout":3,
  "Probability":2,
  "Department":[1,6]
}

 

On my bundled callouts, they look like this:
 

{
  "DomesticDispute":{
    "IgnoreDistance":true,
    "MinTimeout":0,
    "Probability":2,
    "Departments":[1]
  },
  "ParkingViolation":{
    "IgnoreDistance":true,
    "MinTimeout":0,
    "Probability":2,
    "Departments":[1]
  }
}

 

File name is config.json

Each callout dll (aside from one random .cs callout) is in its own folder inside the callouts folder.

 

image.thumb.png.6bb0e1a98f88b28d7d8d483c9d83fff9.png

Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
1 hour ago, TheCipher01 said:

Make sure what you're putting in for the callout name is the class name for the callout. 

They are except for the single files because it said that it wasn’t required here.
 

 

I verified by decompiling the dll to make sure the class names matched040AB77E-AE1F-49CA-9ABF-4726BA5FC4ED.thumb.jpeg.04418ff866dc6edff58c1fde3f3cea26.jpeg

D16523B6-921F-43B2-88EF-A44E7E8C6924.jpeg

D8E0C19E-51EB-439A-B48E-D058B478A0E1.jpeg

03F03C58-53DF-4643-95F2-C7B70BC12349.jpeg

Edited by Kaspr
Link to post
Share on other sites

  • 0
2 hours ago, Kaspr said:

Do the single callout files need to be named as well

Just tried this and it still did a callout for the wrong dept.

Link to post
Share on other sites

  • 0

Content Lock Notice Visual

This content has been locked by the GPM Community Team. If you feel this was a mistake, please report this reply with a valid reason.

 

Alex W.

Community Team Moderator

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 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.