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.

inventory file

Featured Replies

Hello, i hope i am in the right section since this a related to LSPDFR.

The file named inventory.xml is the file i am asking about.

Im pretty sure that we could add flashlight to our weapon list in this file and then when we did go on patrol it was on our weapon.

        <Name>Patrol</Name>
        <ScriptName>patrol</ScriptName>
        <Weapon chance="10">WEAPON_PUMPSHOTGUN</Weapon>
        <Weapon>WEAPON_COMBATPISTOL</Weapon>
            <Component>COMPONENT_AT_PI_FLSH</Component> <!-- Flashlight -->

This is what i am trying to get working, but im not getting the flashlight on the gun.

The full Inventory list for this patrol is this:

        <Name>Patrol</Name>
        <ScriptName>patrol</ScriptName>
        <Weapon chance="10">WEAPON_PUMPSHOTGUN</Weapon>
        <Weapon>WEAPON_COMBATPISTOL</Weapon>
            <Component>COMPONENT_AT_PI_FLSH</Component> <!-- Flashlight -->
        <Weapon>weapon_appistol</Weapon>
        <Weapon>WEAPON_CARBINERIFLE</Weapon>
            <Component>COMPONENT_AT_AR_FLSH</Component> <!-- Flashlight -->
			<Component>COMPONENT_AT_AR_AFGRIP</Component> <!-- Grip -->
			<Component>COMPONENT_AT_SCOPE_MEDIUM</Component> <!-- Scope -->
        <Weapon>weapon_heavysniper_mk2</Weapon>
        <StunWeapon chance="">WEAPON_STUNGUN</StunWeapon>
        <Armor>100</Armor>

I am getting all weapons and armor, but there is no attachments on the weapons.

Are there anyone who knows why this is not working?

Solved by unitedOrange66

Go to solution
  • Community Team
  • Solution

You have to do it this way: 

 

        <Weapon chance="100">
            <Model>WEAPON_COMBATPISTOL</Model>
            <Component>COMPONENT_AT_PI_FLSH</Component>
        </Weapon>

 

       -- LSPD - Collin Gregory - Police Officer III --

  • Author
11 hours ago, unitedOrange66 said:

You have to do it this way: 

 

        <Weapon chance="100">
            <Model>WEAPON_COMBATPISTOL</Model>
            <Component>COMPONENT_AT_PI_FLSH</Component>
        </Weapon>

OMG 🙂 Thank you so much.

This is a support topic.
Only reply here to offer help or assistance to eazbox. 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.