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.
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

LSPDFR and RDE Backup issue (K9, SpecialUnit Crash)

Featured Replies

Hi all,

 

I have run into two issues now with my config running latest LSPDFR with RDE 3.1.1.

 

It all works, except:

 

1. I try to add a 'Security Guard' custom unit but it always crashes. I was using the base code from the security+ callout but do not have the map edits, etc. included, just the ultimate backup edit. It is included below. When ever I choose 'Security Guard' as code 2 backup, it crashes, giving me the 'system.access.violation' error.

 

 
 
 
 
Spoiler

	<SpecialUnit name="Security Guard" role="cop" code2="True" code3="False" pursuit="Flase" traffic_stop="False" felony_stop="False">
		<LosSantosCity>
			<VehicleSet spawn_distance="200">
				<Vehicles>
					<Vehicle>dilettante2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_decals="1" tex_decals="1" prop_hats="1">S_M_M_SECURITY_01</Ped>
				</Peds>
				<NonLethals>
					<NonLethal>WEAPON_STUNGUN</NonLethal>
					<NonLethal>WEAPON_NIGHTSTICK</NonLethal>
				</NonLethals>
				<HandGuns>
					<HandGun chance="100">WEAPON_PISTOL</HandGun>
				</HandGuns>
				<LongGuns>
					<LongGun chance="50">WEAPON_PUMPSHOTGUN</LongGun>
					<LongGun chance="50">WEAPON_ADVANCEDRIFLE</LongGun>
				</LongGuns>
			</VehicleSet>
		</LosSantosCity>
		<LosSantosCounty>
			<VehicleSet spawn_distance="200">
				<Vehicles>
					<Vehicle>dilettante2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_decals="1" tex_decals="1" prop_hats="1">S_M_M_SECURITY_01</Ped>
				</Peds>
				<NonLethals>
					<NonLethal>WEAPON_STUNGUN</NonLethal>
					<NonLethal>WEAPON_NIGHTSTICK</NonLethal>
				</NonLethals>
				<HandGuns>
					<HandGun chance="100">WEAPON_PISTOL</HandGun>
				</HandGuns>
				<LongGuns>
					<LongGun chance="50">WEAPON_PUMPSHOTGUN</LongGun>
					<LongGun chance="50">WEAPON_ADVANCEDRIFLE</LongGun>
				</LongGuns>
			</VehicleSet>
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet spawn_distance="200" chance="85">
				<Vehicles>
					<Vehicle>dilettante2</Vehicle>
					<Vehicle>mwpatriot</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_decals="1" tex_decals="1" prop_hats="1">S_M_M_SECURITY_01</Ped>
				</Peds>
				<NonLethals>
					<NonLethal>WEAPON_STUNGUN</NonLethal>
					<NonLethal>WEAPON_NIGHTSTICK</NonLethal>
				</NonLethals>
				<HandGuns>
					<HandGun chance="100">WEAPON_PISTOL</HandGun>
				</HandGuns>
				<LongGuns>
					<LongGun chance="50">WEAPON_PUMPSHOTGUN</LongGun>
					<LongGun chance="50">WEAPON_ADVANCEDRIFLE</LongGun>
				</LongGuns>
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet spawn_distance="200">
				<Vehicles>
					<Vehicle>dilettante2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_decals="1" tex_decals="1" prop_hats="1">S_M_M_SECURITY_01</Ped>
				</Peds>
				<NonLethals>
					<NonLethal>WEAPON_STUNGUN</NonLethal>
					<NonLethal>WEAPON_NIGHTSTICK</NonLethal>
				</NonLethals>
				<HandGuns>
					<HandGun chance="100">WEAPON_PISTOL</HandGun>
				</HandGuns>
				<LongGuns>
					<LongGun chance="50">WEAPON_PUMPSHOTGUN</LongGun>
					<LongGun chance="50">WEAPON_ADVANCEDRIFLE</LongGun>
				</LongGuns>
			</VehicleSet>
		</NorthYankton>
	</SpecialUnit>

 

 

2. I try to use K9 patrol but the only time the dog actually spawns is if I use the traffic stop K9 option. I cannot get a dog to spawn at any other time, even using the K9 back up or special unit, code below.

 

 
 
 
 
 
 
 
 
Spoiler

	<SpecialUnit name="State K9 Patrol" role="cop" code2="True" code3="True" pursuit="True" traffic_stop="True" felony_stop="False">
		<LosSantosCity>
			<VehicleSet spawn_distance="300" k9_model="SHEPHERD">
				<Vehicles>
					<Vehicle>policek9</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_hats="0" prop_glasses="0">s_m_y_copk9_01</Ped>
				</Peds>
				<NonLethals>
					<NonLethal>WEAPON_STUNGUN</NonLethal>
					<NonLethal>WEAPON_NIGHTSTICK</NonLethal>
				</NonLethals>
				<HandGuns>
					<HandGun chance="90" comp_1="COMPONENT_AT_PI_FLSH">WEAPON_PISTOL</HandGun>
					<HandGun chance="10" comp_1="COMPONENT_AT_PI_FLSH" comp_2="COMPONENT_COMBATPISTOL_CLIP_02">WEAPON_COMBATPISTOL</HandGun>
				</HandGuns>
				<LongGuns>
					<LongGun chance="67" comp_1="COMPONENT_CARBINERIFLE_CLIP_03" comp_2="COMPONENT_AT_AR_FLSH" comp_3="COMPONENT_AT_SCOPE_MEDIUM" comp_4="COMPONENT_AT_AR_AFGRIP">WEAPON_CARBINERIFLE</LongGun>
					<LongGun chance="33" comp_1="COMPONENT_PUMPSHOTGUN_CLIP_01" comp_2="COMPONENT_AT_AR_FLSH">WEAPON_PUMPSHOTGUN</LongGun>
				</LongGuns>
			</VehicleSet>
		</LosSantosCity>
		<LosSantosCounty>
			<VehicleSet spawn_distance="600" k9_model="SHEPHERD">
				<Vehicles>
					<Vehicle>policek9</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_hats="0" prop_glasses="0">s_m_y_copk9_01</Ped>
				</Peds>
				<NonLethals>
					<NonLethal>WEAPON_STUNGUN</NonLethal>
					<NonLethal>WEAPON_NIGHTSTICK</NonLethal>
				</NonLethals>
				<HandGuns>
					<HandGun chance="90" comp_1="COMPONENT_AT_PI_FLSH">WEAPON_PISTOL</HandGun>
					<HandGun chance="10" comp_1="COMPONENT_AT_PI_FLSH" comp_2="COMPONENT_COMBATPISTOL_CLIP_02">WEAPON_COMBATPISTOL</HandGun>
				</HandGuns>
				<LongGuns>
					<LongGun chance="67" comp_1="COMPONENT_CARBINERIFLE_CLIP_03" comp_2="COMPONENT_AT_AR_FLSH" comp_3="COMPONENT_AT_SCOPE_MEDIUM" comp_4="COMPONENT_AT_AR_AFGRIP">WEAPON_CARBINERIFLE</LongGun>
					<LongGun chance="33" comp_1="COMPONENT_PUMPSHOTGUN_CLIP_01" comp_2="COMPONENT_AT_AR_FLSH">WEAPON_PUMPSHOTGUN</LongGun>
				</LongGuns>
			</VehicleSet>
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet spawn_distance="300" k9_model="ROTTWEILER">
				<Vehicles>
					<Vehicle>sheriffk9</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_glasses="0">s_m_y_sheriffk9_01</Ped>
				</Peds>
				<NonLethals>
					<NonLethal>WEAPON_STUNGUN</NonLethal>
					<NonLethal>WEAPON_NIGHTSTICK</NonLethal>
				</NonLethals>
				<HandGuns>
					<HandGun chance="90" comp_1="COMPONENT_AT_PI_FLSH">WEAPON_PISTOL</HandGun>
					<HandGun chance="10" comp_1="COMPONENT_AT_PI_FLSH" comp_2="COMPONENT_COMBATPISTOL_CLIP_02">WEAPON_COMBATPISTOL</HandGun>
				</HandGuns>
				<LongGuns>
					<LongGun chance="67" comp_1="COMPONENT_CARBINERIFLE_CLIP_03" comp_2="COMPONENT_AT_AR_FLSH" comp_3="COMPONENT_AT_SCOPE_MEDIUM" comp_4="COMPONENT_AT_AR_AFGRIP">WEAPON_CARBINERIFLE</LongGun>
					<LongGun chance="33" comp_1="COMPONENT_PUMPSHOTGUN_CLIP_01" comp_2="COMPONENT_AT_AR_FLSH">WEAPON_PUMPSHOTGUN</LongGun>
				</LongGuns>
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet>
				<Vehicles>
					<Vehicle>POLICEOLD2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped chance="60" comp_accessories="1" prop_glasses="1" prop_hats="1">S_M_M_SNOWCOP_01</Ped>
					<Ped chance="40" prop_glasses="2" prop_hats="2">S_M_M_SNOWCOP_01</Ped>
				</Peds>
			</VehicleSet>
		</NorthYankton>
	</SpecialUnit>

 

 

Thanks for the help!

EDIT: Sorry for the snippet boxes, cant seem to get it to fit into just the spoiler box.

Edited by Jason_Ness

This is a support topic.
Only reply here to offer help or assistance to Jason_Ness. Off-topic or "me too" replies will be removed.

Need support yourself? Make a new topic instead.

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.