Jump to content

[API Question] Going unavailable for callouts


Phaxol

Recommended Posts

Hello,

 

I was wondering if there was a specific function to call to stop receiving callouts in the LSPDFR API. This is for my Status Menu which attempts to set the player as "busy" if they tell dispatch they are in a pursuit or traffic stop. Currently I am calling the "SetCopAsBusy" function as such:

LSPD_First_Response.Mod.API.Functions.SetCopAsBusy(Rage.Game.LocalPlayer.Character, true);

But it seems to be hit or miss on if its actually doing anything, as sometimes I still receive before I set this variable to false. Am I implementing this wrong or is this not what this function is for?

 

Thank you for reading!

-Phaxol

Link to comment
Share on other sites

That function is for indicating that an AI ped is busy and not to give it cop tasks. It doesn't affect callouts. There is no API method to go on/off duty. 

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

Link to comment
Share on other sites

  • The topic was locked
Guest
This topic is now closed to further replies.


×
×
  • Create New...