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.
We're performing changes on our download infrastructure. During this time, you may encounter downloads failing to complete or start. Thank you for your patience.

Agency

An Agency is an organization in LSPDFR to which Stations, Peds and Vehicles can belong.

 

In LSPDFR 0.4, the various agencies (i.e. police agencies, fire departments, etc.) are defined within the Agency XML file.  Generally, an Agency in LSPDFR is a representation of some kind of police or law-enforcement organization, although other entities like fire departments can also be present.  

 

It's worth noting as well that Agencies can be used to represent smaller divisions within an Agency too.  This is done by setting the Parent element in the child Agency's XML to the Script Name of the parent Agency.  In the default configuration for LSPDFR 0.4, this is done for the SWAT teams of the police and sheriffs.  

 

Agencies are referenced by their ScriptName.

 

Elements

 

Element Name Type Required Description
Name Text Yes This is the full name of the agency, e.g. Los Santos Police Department
ShortName Text Yes This is generally an initialism of the name, e.g. LSPD
TextureDictionary Text No The name of the texture dictionary to be used for HUD notifications.
TextureName Text No The name of the texture in the above dictionary.
ScriptName Text Yes This is a unique identifier for this agency, which is used to cross-reference it in code and other data.
Inventory Inventory No The default Inventory for the agency - it will be used if a Ped doesn't have a specific inventory assigned.
Parent Agency No If set, will make this agency child of the parent Agency you specify.
Loadout + Loadout Yes A Loadout defines which Vehicles and Peds an agency has.
ExcludeFromBackupMenu True/False No Can be set to true to stop the Agency being available in the Backup Menu using the Agency switch at the top of the menu. The agency can still respond as a backup unit when called in differently, e.g. via Local Patrol.
BadgeModel Added in 0.4.2 Text No Can be used to specify a custom Police Badge model to be used by this agency.
ShieldModel Added in 0.4.2 Text No Can be used to specify a custom Ballistic Shield model to be used by this agency.
EvidenceMarkerModel Added in 0.4.8 Text No Can be used to specify a custom Evidence Marker model to be used by this agency.

 

Denotes one or more elements may be present.

 

Example

<Agency>
  <Name>San Andreas Highway Patrol</Name>
  <ShortName>SAHP</ShortName>
  <ScriptName>sahp</ScriptName>
  <Inventory>default</Inventory>
  <Loadout>
    <Name>Motor Unit</Name>
    <Vehicles>
      <Vehicle>policeb</Vehicle>
    </Vehicles>
    <Peds>
      <Ped comp_uppr="1" comp_decl="1" comp_lowr="0" prop_head="0" helmet="true">s_m_y_hwaycop_01</Ped>
    </Peds>
    <NumPeds min="1" max="1" />
  </Loadout>
</Agency>

A basic example of an Agency in LSPDFR 0.4 with only one Loadout (the bike officer).

Edited by Sam

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.