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.

Having issues trying to set up custom vehicle spawns, and jurisdictions.

Featured Replies

I've been trying to figure out what I did wrong in my coding. (I'm new to this.)

I've basically copied the LSPD info and tried to match the style of it to create a "department" and "jurisdiction" for Del Perro.

The code will be below:

 

This is currently sitting in my "Agency.xml" file for "dppd":

Spoiler

<Agency>
    <Name>Del Perro Police Department</Name>
    <ShortName>DPPD</ShortName>
    <ScriptName>dppd</ScriptName>
        <TextureDictionary>web_lossantospolicedept</TextureDictionary>
        <TextureName>web_lossantospolicedept</TextureName>
        <Inventory>default</Inventory>
        <Loadout>
            <Name> DPPD Patrol Unit</Name>
            <Vehicles>
                <Vehicle>dppolice</Vehicle>
                <Vehicle>dppolice2</Vehicle>
                <Vehicle>dppolice4</Vehicle>
            </Vehicles>
                <Peds>
                <!-- 70% chance of male peds -->
                <Ped chance="60" outfit="lspd_cop.m_base" inventory="patrol">mp_m_freemode_01</Ped> <!-- Specifically the "base" variation, with no rank insignia -->
                <Ped chance="10" outfit="lspd_cop" inventory="patrol_stun">mp_m_freemode_01</Ped> <!-- Any variation - could possibly have rank insignia - will also have a stun weapon -->
                
                <!-- 30% chance of female peds -->
                <Ped chance="25" outfit="lspd_cop.f_base" inventory="patrol">mp_f_freemode_01</Ped> <!-- Specifically the "base" variation, with no rank insignia -->
                <Ped chance="5" outfit="lspd_cop" inventory="patrol_stun">mp_f_freemode_01</Ped> <!-- Any variation - could possibly have rank insignia - will also have a stun weapon -->
            </Peds>
            <NumPeds min="2" max="2" />
            <Flags>
                <Flag>RespondsAsTransport</Flag> <!-- Makes the unit eligible to be called for prisoner transport.  Only use this if there will be free seats for prisoners. -->
                <Flag>RespondsAsBackup</Flag>  <!-- Makes the unit eligible to be called as either Code 2, Code 3 or Pursuit backup. -->
                <Flag>SpawnsAmbiently</Flag>   <!-- Makes the unit eligible to spawn ambiently - e.g. on patrol in the area or outside of police stations -->
            </Flags>
        </Loadout>
        <Loadout>
            <Name> DPPD Transport Unit</Name>
            <Vehicles>
                <Vehicle>dppolice4</Vehicle>
            </Vehicles>
            <Peds>
                <Ped chance="100" outfit="lspd_cop">mp_m_freemode_01</Ped>
            </Peds>
            <NumPeds min="1" max="2" />
            <Flag>RespondsAsTransport</Flag> <!-- Makes the unit eligible to be called for prisoner transport.  Only use this if there will be free seats for prisoners. -->
            <Flag>SpawnsAmbiently</Flag>
        </Loadout>
        <Loadout>
           <Name>Community Resources</Name>
        <Vehicles>
            <Vehicle>dppolice3</Vehicle>
            <Vehicle>dppolice5</Vehicle>
        </Vehicles>
        <Peds>
        <Ped chance="100" outfit="lspd_cop">mp_m_freemode_01</Ped>
        </Peds>
        <NumPeds min="1" max="2" />
        <Flag>RespondsAsTransport</Flag>
        <Flag>SpawnsAmbiently</Flag>
        </Loadout>


I have this set under the "Agency.xml" file:

<DelPerro>
            <Agency>dppd</Agency>
        <DelPerro>

 

And this sets under the "Regions.xml" file:

  <Region>
    <Name>DelPerro</Name>
    <Zones>
        <Zone>DELBE</Zone>
        <Zone>DELPE</Zone>
        </Zones>
    </Region>

 

I'm trying to figure out how I can get the Del Perro custom vehicles to patrol, and spawn ambiently around the area so things are a little more immersive.

I've looked through the "Technical Documents", and some of them are confusing me (since I'm new to all of this.)

Any assistance would be greatly appreciated.

Sora

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