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.

Inventory

An Inventory defines what Weapons (and weapon components) a Ped should be equipped with.

 

Elements

 

Element Name Type Required Description
Name Text Yes A short name for the Inventory that will be shown in the Police Locker menu.
ScriptName Text Yes This is a unique identifier for the Inventory, which is used to reference it in code and other data files.
Weapon + Weapon Yes The Weapon that the Ped should be given.
StunWeapon Weapon No If specified, the Ped will be able to use this Weapon as a stun gun.
Armor Number No How much armor the Ped should be given.  This can be between 0 (none) and 100 (full).

 

Denotes one or more elements may be present.

 

Example

<Inventory>
  <Name>SWAT</Name>
  <ScriptName>swat</ScriptName>
  <Weapon chance="70">
    <Model>WEAPON_CARBINERIFLE</Model>
    <Component>COMPONENT_AT_AR_FLSH</Component> <!-- Flashlight -->
    <Component>COMPONENT_AT_AR_AFGRIP</Component> <!-- Grip -->
    <Component>COMPONENT_AT_SCOPE_MEDIUM</Component> <!-- Scope -->
  </Weapon>
  <Weapon chance="30">
    <Model>WEAPON_COMBATPISTOL</Model>
    <Component>COMPONENT_AT_PI_FLSH</Component> <!-- Flashlight -->
  </Weapon>
  <StunWeapon>WEAPON_STUNGUN</StunWeapon>
  <Armor>100</Armor>
</Inventory>

Anexample of an Inventory in LSPDFR 0.4, shown here is a simple SWAT configuration where the Ped could be equipped with either a modified Carbine Rifle or a Combat Pistol equipped with a flashlight.  Additionally, the Ped is issued Armor and a Stun Gun.

User Feedback

Recommended Comments

There are no comments to display.

Guest
This is now closed for further comments

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.