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.

Can I use System.Threading ?

Featured Replies

Hi. So I have errors in my callout when using the threading system, when I call my thread it work but then I have an error, so I was wondering if it was just not because it is not possible to run another thread while the callout is processed or if I just made and error.

 

Here is the log file (I used Game.console.write() to see where the error was in the code ) :
 

Spoiler

[4/29/2023 8:30:19 AM.420] LSPD First Response: [TRACE] Preloading POLICEB
[4/29/2023 8:30:19 AM.420] LSPD First Response: [TRACE] Preloading S_M_Y_HWAYCOP_01
[4/29/2023 8:30:19 AM.442] LSPD First Response: [TRACE] Preloading POLICEB
[4/29/2023 8:30:19 AM.442] LSPD First Response: [TRACE] Created policeb at X:201.9314 Y:-1224.247 Z:38.75086
[4/29/2023 8:30:19 AM.465] LSPD First Response: [TRACE] Preloading S_M_Y_HWAYCOP_01
[4/29/2023 8:30:19 AM.466] LSPD First Response: [TRACE] New ped created s_m_y_hwaycop_01 (PedType: 6), Agency: CityPolice ()
[4/29/2023 8:30:19 AM.467] LSPD First Response: [TRACE] Erin Minsten (S_M_Y_HWAYCOP_01) was set as a cop
[4/29/2023 8:30:19 AM.488] LSPD First Response: [TRACE] AmbientSpawn - spawned: policeb
[4/29/2023 8:30:22 AM.410] LSPD First Response: SuperCallouts: Using UltimateBackup API.
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӱ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: HotPursuit Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ԁ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Robbery Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ө
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: CarAccident Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӫ
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӫ
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӧ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: AngryAnimals Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӳ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Kidnapping Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ԅ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: TruckCrash Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӿ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: PrisonTransport Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӯ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Hit and Run Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ԁ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Stolen police vehicle Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ԃ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Stolen dump truck Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӧ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: AmbulanceEscort Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӥ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Aliens Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӽ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Open Carry Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӯ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Fire Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӽ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: OfficerShootout Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ԇ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Suspicious Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӻ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Manhunt Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӳ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Impersonator Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ԃ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: ToiletPaperBandit Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ө
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Blocking Traffic Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӱ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Illegal Parking Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӵ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Knife Attack Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӭ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Dead Body Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӭ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: FakeCall Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout SuperCallouts.Callouts.Trespassing
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Trespassing Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @Ӿ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: PrisonBreak Enabled
[4/29/2023 8:30:22 AM.412] LSPD First Response: Registering callout @ӷ
[4/29/2023 8:30:22 AM.412] LSPD First Response: SuperCallouts: Mafia1 Enabled
[4/29/2023 8:30:22 AM.413] LSPD First Response: Registering callout @Ӹ
[4/29/2023 8:30:22 AM.413] LSPD First Response: SuperCallouts: Mafia2 Enabled
[4/29/2023 8:30:22 AM.413] LSPD First Response: Registering callout @ӹ
[4/29/2023 8:30:22 AM.413] LSPD First Response: SuperCallouts: Mafia3 Enabled
[4/29/2023 8:30:22 AM.413] LSPD First Response: Registering callout @Ӻ
[4/29/2023 8:30:22 AM.413] LSPD First Response: SuperCallouts: Mafia4 Enabled
[4/29/2023 8:30:22 AM.413] LSPD First Response: Registering callout @ӵ
[4/29/2023 8:30:22 AM.413] LSPD First Response: SuperCallouts: LostMC Enabled
[4/29/2023 8:30:22 AM.413] LSPD First Response: Registering callout @Ӷ
[4/29/2023 8:30:22 AM.413] LSPD First Response: SuperCallouts: LSGTF Enabled
[4/29/2023 8:30:32 AM.602] LSPD First Response: Creating FirstCallout from Mytical_Callout.Callouts.FirstCallout.FirstCallout, Mytical Callout, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[4/29/2023 8:30:32 AM.604] LSPD First Response: [TRACE] Callout created:  #1
[4/29/2023 8:30:36 AM.743] CALLOUT ACCEPTED
[4/29/2023 8:30:36 AM.744] LSPD First Response: [TRACE] Cleaning UI
[4/29/2023 8:30:38 AM.875] LSPD First Response: GetAudioFileForAction: No file found for: 
[4/29/2023 8:30:38 AM.875] LSPD First Response: GetAudioFileForAction: No file found for: 
[4/29/2023 8:30:38 AM.875] LSPD First Response: PlayAction: Failed to find 
[4/29/2023 8:30:40 AM.999] LSPD First Response: [TRACE] User accepted callout
[4/29/2023 8:30:41 AM.024] PROCESS                                                                                                      //here the process is starting
[4/29/2023 8:30:41 AM.025] ADD ENNEMI FONCTION COMMENCER                                                     //here the thread have started
[4/29/2023 8:30:41 AM.168] LSPD First Response: [TRACE] Preloading POLICE
[4/29/2023 8:30:41 AM.168] LSPD First Response: [TRACE] Preloading MP_M_FREEMODE_01
[4/29/2023 8:30:41 AM.190] LSPD First Response: [TRACE] Preloading POLICE
[4/29/2023 8:30:41 AM.191] LSPD First Response: [TRACE] Created police at X:-55.8018 Y:-1374.154 Z:29.67044
[4/29/2023 8:30:41 AM.220] LSPD First Response: [TRACE] Preloading MP_M_FREEMODE_01
[4/29/2023 8:30:41 AM.221] LSPD First Response: [TRACE] New ped created mp_m_freemode_01 (PedType: 6), Agency: CityPolice ()
[4/29/2023 8:30:41 AM.229] LSPD First Response: [TRACE] Marvin Zane (MP_M_FREEMODE_01) was set as a cop
[4/29/2023 8:30:41 AM.252] LSPD First Response: [TRACE] Preloading MP_M_FREEMODE_01
[4/29/2023 8:30:41 AM.254] LSPD First Response: [TRACE] New ped created mp_m_freemode_01 (PedType: 6), Agency: CityPolice ()
[4/29/2023 8:30:41 AM.255] LSPD First Response: [TRACE] Chris Kingston (MP_M_FREEMODE_01) was set as a cop
[4/29/2023 8:30:41 AM.282] LSPD First Response: [TRACE] AmbientSpawn - spawned: police
[4/29/2023 8:30:41 AM.291] LSPD First Response: Error while processing callout: FirstCallout: Object reference not set to an instance of an object.   at Mytical_Callout.Callouts.FirstCallout.FirstCallout.Process()                                                                                                    // the callout crashed when the thread was executed
[4/29/2023 8:30:41 AM.291] at DDqIAdDtGotqbUEmcsvdrZGsQuXAA.UStwBMsbYesFYstAaLioGJgIWNOo() in D:\GTA V\LSPD First Response\LSPD First Response\Mod\Callouts\CalloutManager.cs:line 177
[4/29/2023 8:30:41 AM.292] LSPD First Response: EndCurrentCallout: Finishing...
[4/29/2023 8:30:41 AM.302] LSPD First Response: [TRACE] Cleaning UI
[4/29/2023 8:30:41 AM.305] LSPD First Response: [TRACE] Released 0 entities from  #1 Content Manager
[4/29/2023 8:30:41 AM.305] LSPD First Response: [TRACE] Instance cleaned ( #1)
[4/29/2023 8:30:41 AM.378] LSPD First Response: [TRACE] PlayerCharacterStatsManager: Acknowledged
[4/29/2023 8:30:43 AM.723] LSPD First Response: [TRACE] A new world event should be started
[4/29/2023 8:30:43 AM.723] LSPD First Response: [TRACE] Starting world event StealCar
[4/29/2023 8:30:43 AM.724] LSPD First Response: [TRACE] Setting up world event: StealCar #1
[4/29/2023 8:30:43 AM.993] LSPD First Response: [TRACE] Assigned ped to StealCar #1 (Ambient)
[4/29/2023 8:30:51 AM.924] LSPD First Response: [TRACE] Assigned ped to PlayerArrest #1 (Blocker)
[4/29/2023 8:30:51 AM.957] LSPD First Response: [TRACE] Thread PlayerArrest #1 initialized
[4/29/2023 8:30:53 AM.766] LSPD First Response: [TRACE] Asked thread PlayerArrest #1 to abort: No reason specified
[4/29/2023 8:30:53 AM.767] LSPD First Response: [TRACE] Removing ped from PlayerArrest #1 (Blocker)
[4/29/2023 8:30:53 AM.769] LSPD First Response: [TRACE] PlayerArrest #1 is aborting already
[4/29/2023 8:30:53 AM.769] LSPD First Response: [TRACE] Released 0 entities from PlayerArrest #1 Content Manager
[4/29/2023 8:30:53 AM.769] LSPD First Response: [TRACE] Instance cleaned (PlayerArrest #1)
[4/29/2023 8:30:53 AM.791] LSPD First Response: [TRACE] Ped Kelly Barbera has become idle again
[4/29/2023 8:30:53 AM.794] LSPD First Response: [TRACE] Thread PlayerArrest #1 has been shut down


 

 

by Mytical.

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.