Jump to content
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.

Disable Police Bikes


Recommended Posts

10 hours ago, SEEYAPIMP said:

I'm tired of bikes units smashing into people and I just dislike motorcycle units. There used to be a mod that disabled them before 4.0 but it no longer works. Anyone know a way to disable them?

Hi,

This is going on the basis you still have the original agencies and haven't altered them

 

You need to go to your agency.xml file located at /lspdfr/data in your main GTA V directory and edit it.  You'll find a part like below:

 

Spoiler

<Agency>
        <Name>San Andreas Highway Patrol</Name>
        <ShortName>SAHP</ShortName>
        <ScriptName>sahp</ScriptName>
        <Inventory>default</Inventory>
        <TextureDictionary>s_m_y_hwaycop_01</TextureDictionary>
        <TextureName>decl_diff_001_a_uni</TextureName>
        <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" inventory="biker">s_m_y_hwaycop_01</Ped>
            </Peds>
            <NumPeds min="1" max="1" />
            <Flags>
                <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>
    </Agency>

The simplest solution is where it says <vehicle>policeb</vehicle> you can change policeb to a different police vehicle. for example change it to <vehicle>police</vehicle> and the motorcycle will no longer appear and will instead be replaced by the standard police cruiser.

"And maybe remind the few,

if ill of us they speak,
That we are all that stands,

between the monsters and the weak"

Link to comment
Share on other sites

On 5/9/2019 at 7:52 AM, Vaultcop said:

Hi,

This is going on the basis you still have the original agencies and haven't altered them

 

You need to go to your agency.xml file located at /lspdfr/data in your main GTA V directory and edit it.  You'll find a part like below:

 

 
 
 
  Hide contents

<Agency>
        <Name>San Andreas Highway Patrol</Name>
        <ShortName>SAHP</ShortName>
        <ScriptName>sahp</ScriptName>
        <Inventory>default</Inventory>
        <TextureDictionary>s_m_y_hwaycop_01</TextureDictionary>
        <TextureName>decl_diff_001_a_uni</TextureName>
        <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" inventory="biker">s_m_y_hwaycop_01</Ped>
            </Peds>
            <NumPeds min="1" max="1" />
            <Flags>
                <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>
    </Agency>

The simplest solution is where it says <vehicle>policeb</vehicle> you can change policeb to a different police vehicle. for example change it to <vehicle>police</vehicle> and the motorcycle will no longer appear and will instead be replaced by the standard police cruiser.

 

Works perfect, I just need to change the uniforms. Thanks

Edited by SEEYAPIMP
Link to comment
Share on other sites

17 hours ago, SEEYAPIMP said:

 

Works perfect, I just need to change the uniforms. Thanks

No problem,

If you want to alter the ped (person) model used alter the section below:

Spoiler

<Ped comp_uppr="1" comp_decl="1" comp_lowr="0" prop_head="0" helmet="true" inventory="biker">s_m_y_hwaycop_01</Ped>

 

Change it to <Ped>s_m_y_sheriff_01</Ped> for example and the male sheriff model will be used. If you want more than one model you can use the example below which gives you a 50% chance each of a male or female sheriff

 

Spoiler

 

<Peds>
                <Ped chance="50">s_m_y_sheriff_01</Ped>

                <Ped chance="50">s_f_y_sheriff_01</Ped>

</Peds>

 

 

 

"And maybe remind the few,

if ill of us they speak,
That we are all that stands,

between the monsters and the weak"

Link to comment
Share on other sites

  • 1 year later...
You should only reply here to ask for more information from SEEYAPIMP or to answer the person's issue.

Reply to this thread only to offer help or assistance to SEEYAPIMP.
If you want support, create your own thread in the appropriate forum. Non-relevant replies, derailing posts, "me too", disinformation and other support requests will be removed without warning.

Guest
You can no longer reply to this support topic as it was started over a year ago. Please make a new thread.


×
×
  • Create New...