Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[API][WIP/REL] Callouts+ - Additional LCPDFR API Callouts

Featured Replies

  • Replies 718
  • Views 188.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Update Released!!!   Version 0.5 (beta release) is now available in the downloads section!   New Callouts: Road Traffic Collision (RTC) The all new RTC's are bigger and better than have ever been

  • Because sometimes it's fun to mess with people by forcing the LCPDFR callouts to crash instead of my own, just to see if anyone notices.     Press "start"     Because fat_cop be eating all the

  • Update Released!   The latest version, 0.7, is now available for download! It is built to run on LCPDFR 1.0d_2 (that is the first hotfix patch for 1.0d)   Changes   • IMPORTANT: Ambulance keybin

  • Author

in 0.5, does it only spawn a single police barrier model? could you also spawn cones, flares?

At the moment it is only the single barrier model. The cones/flares etc will be added later on.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Hi,
 
I get this error everytime I try to call a tow truck in 0.5:
 
[ERROR - 9:17:52 PM] [Plugin.Callouts+] System.NullReferenceException: Object reference not set to an instance of an object.
   at dh.ac()
   at LCPD_First_Response.LCPDFR.API.LVehicleBase.get_Position()
   at CalloutsPlus.Dispatcher.RequestTowTruck()
   at CalloutsPlus.CalloutsPlusMain.Process()
   at ay.b()
[ERROR - 9:17:52 PM] [ExceptionHandler]  dh.ac() L_0000
 LCPD_First_Response.LCPDFR.API.LVehicleBase.get_Position() L_0000
 CalloutsPlus.Dispatcher.RequestTowTruck() L_0095
 CalloutsPlus.CalloutsPlusMain.Process() L_02ca
 ay.b() L_00a0
Error hash: 5CC6D4C21A9581E3B12C35F7347BF3B08819EB87

  • Author

Hi,

 

I get this error everytime I try to call a tow truck in 0.5:

 

<snip>

 

Can you give me more information such as other mods you're using and what you're doing in game when you call it etc.

Again, as I've said to others, not a single one of these issues arose during testing so I need to know more about it.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Can you give me more information such as other mods you're using and what you're doing in game when you call it etc.

Again, as I've said to others, not a single one of these issues arose during testing so I need to know more about it.

 

Mods I use are:

 

Breathalyser

OvertakingFix

Undertakerservice

WoutersCallouts

Callouts+

 

The scenario everytime the error occured has been that I have stopped a vehicle, and for one reason or another I chose to arrest the driver. I call for a prison transport and wait until they have taken the driver away. Then I want to get rid of his/her car and call the tow truck. This is when the error happens and Callouts+ shuts down.

  • Author

Mods I use are:

 

Breathalyser

OvertakingFix

Undertakerservice

WoutersCallouts

Callouts+

 

The scenario everytime the error occured has been that I have stopped a vehicle, and for one reason or another I chose to arrest the driver. I call for a prison transport and wait until they have taken the driver away. Then I want to get rid of his/her car and call the tow truck. This is when the error happens and Callouts+ shuts down.

 

Right, no modified vehicles or anything like that? Are you standing close to the vehicle you want removing?

 

Also I would suggest trying without the other scripts to see if it's an interference.

Edited by LukeD

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Right, no modified vehicles or anything like that? Are you standing close to the vehicle you want removing?

 

Also I would suggest trying without the other scripts to see if it's an interference.

 

Only one modified vehicle, an umarked police car (Chevrolet Impala, FIB Buffalo).

 

I stand next to the vehicle I try to remove. I will try without the other scripts and see if it works.

Edit: I tried again without the other scripts and still got the same error so no interference there.

 

Edited by MultiMutta

  • Author

Only one modified vehicle, an umarked police car (Chevrolet Impala, FIB Buffalo).

 

I stand next to the vehicle I try to remove. I will try without the other scripts and see if it works.

Edit: I tried again without the other scripts and still got the same error so no interference there.

 

Ok, have you tried without the car mod as well?

 

Also, double check you've got the very latest versions of all the needed files.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Ok, have you tried without the car mod as well?

 

Also, double check you've got the very latest versions of all the needed files.

 

Haven't tried without the car mod, not trying to tow a police car so I'm not sure if removing it will make any difference? As far as I know everything is up to date, are there any specific files needed for Callouts+? LCPDFR 1.0C runs perfectly and Callout+ runs inside LCPDFR right?

  • Author

Haven't tried without the car mod, not trying to tow a police car so I'm not sure if removing it will make any difference? As far as I know everything is up to date, are there any specific files needed for Callouts+? LCPDFR 1.0C runs perfectly and Callout+ runs inside LCPDFR right?

Car mods can have odd effects on script mods believe it or not.

 

That's correct yes.

 

Can you try standing in the middle of nowhere and calling a tow truck (if it works you should get a message saying there is no car there)

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Car mods can have odd effects on script mods believe it or not.

 

That's correct yes.

 

Can you try standing in the middle of nowhere and calling a tow truck (if it works you should get a message saying there is no car there)

 

Yes, standing in the middle of nowhere and calling a tow truck results in a message saying there's no car there and no tow truck will be sent.

  • Author

Yes, standing in the middle of nowhere and calling a tow truck results in a message saying there's no car there and no tow truck will be sent.

B-E-A-Utiful. That means the safety catch is working as expected.

 

Ok, try calling the tow truck in for some random cars (ones parked at the side of the street). again, be really sure you're stood right next to the car.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

B-E-A-Utiful. That means the safety catch is working as expected.

 

Ok, try calling the tow truck in for some random cars (ones parked at the side of the street). again, be really sure you're stood right next to the car.

 

Calling the tow truck for a random car parked at the street results in this error:

 

[ERROR - 10:52:25 PM] [PluginManager] Unhandled exception caught while processing plugin: Callouts+. Plugin will no longer be executed.

[ERROR - 10:52:25 PM] [Plugin.Callouts+] System.NullReferenceException: Object reference not set to an instance of an object.

   at dh.ac()

   at LCPD_First_Response.LCPDFR.API.LVehicleBase.get_Position()

   at CalloutsPlus.Dispatcher.RequestTowTruck()

   at CalloutsPlus.CalloutsPlusMain.Process()

   at ay.b()

[ERROR - 10:52:25 PM] [ExceptionHandler]  dh.ac() L_0000

 LCPD_First_Response.LCPDFR.API.LVehicleBase.get_Position() L_0000

 CalloutsPlus.Dispatcher.RequestTowTruck() L_0095

 CalloutsPlus.CalloutsPlusMain.Process() L_02ca

 ay.b() L_00a0

Error hash: 5CC6D4C21A9581E3B12C35F7347BF3B08819EB87

 

I stood as close to the car as I could get.

  • Author

Calling the tow truck for a random car parked at the street results in this error:

 

<snip>

I stood as close to the car as I could get.

Confirmed it works perfectly my end with the download version rather than the development build I use.

 

Have you tried without the custom police vehicle?

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Confirmed it works perfectly my end with the download version rather than the development build I use.

 

Have you tried without the custom police vehicle?

 

Without the custom police vehicle it seems to work much better. I get a lot "no drivers available" but sometimes the tow truck actually shows up. Both good and bad at the same time, I love that police car but I need the tow truck as well :tongue:

 

  • Author

Without the custom police vehicle it seems to work much better. I get a lot "no drivers available" but sometimes the tow truck actually shows up. Both good and bad at the same time, I love that police car but I need the tow truck as well :tongue:

Can you post a screenshot of your GTA IV directory for me please as well as your full LCPDFR.log, AdvancedHook.txt, and ScriptHookdotNet.txt files. (if when replying you click "More Reply Options" you get the attachment option at the bottom)

This may or may not help, but I would try changing the 'PreloadAllModels' line in LCPDFR.ini from False to True.

This may also help but requires more resources ^

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Can you post a screenshot of your GTA IV directory for me please as well as your full LCPDFR.log, AdvancedHook.txt, and ScriptHookdotNet.txt files. (if when replying you click "More Reply Options" you get the attachment option at the bottom)

This may also help but requires more resources ^

 

Sure thing. I didn't have any AdvancedHook.txt or ScriptHookdotNet.txt, no *.txt only *.log that is. Screenshots I'm not sure how to give you.

 

Edit: Screenshot attached.

 

Edited by MultiMutta

  • Author

Sure thing. I didn't have any AdvancedHook.txt or ScriptHookdotNet.txt, no *.txt only *.log that is. Screenshots I'm not sure how to give you.

 

Edit: Screenshot attached.

Thanks, I'll go through my code with a fine tooth comb and see if there is anything which might be causing this.

 

HI, i have a problem:

 

The script runs well, but when i receive the vehicle broken down call, LCPDFR says that a third party script has been shut down and the call stop working. Happens the same when i use the feature to remove a vehicle, any idea?

No, no idea at all. Did you read the readme? The bit at the bottom where it says to post your lcpdfr.log file? I guess not.

Seriously, I can't help you unless you attach the lcpdfr.log file. That logs all the errors, without it I can't possibly know what is going wrong for you.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.