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.

Custom backup need help with script

Featured Replies

Hi, I downloaded the new version of Custom backup and I'm having problems, the game crashes at startup after the loading screen. Script below any help appreciated

Spoiler

<!-- 

    For the default menu entries like LocalPatrol, NooseAir, etc. you can set
    mainmenu="false" to put that entry on the "additional options" backup menu. 
    By default, all of the regular backup types will be on the main menu if you 
    don't specify the mainmenu attribute. 
    
    To add custom entries to the menu, scroll down towards the end of the file, 
    and look for <CustomMenuEntries>. 

-->

<CustomBackup>
 <LocalPatrol>
    <BackupRegion nickname="Parks">
      <BackupAreas>
        <Area>LosSantos</Area>
      </BackupAreas>
      <VehicleSet>
        <Vehicles>
          <Vehicle>police</Vehicle>
          <Vehicle>police2</Vehicle>
          <Vehicle>police3</Vehicle>
          <Vehicle>police4</Vehicle>
          <Vehicle>pranger</Vehicle>
        </Vehicles>
        <Peds>
          <Ped chance="90">s_m_y_cop_01</Ped>
          <Ped chance="10">s_f_y_cop_01</Ped>
        </Peds>
        <NumPeds min="2" max="2" />
      </VehicleSet>
    </BackupRegion>
    <BackupRegion nickname="SSerer">
      <BackupAreas>
        <Area>LosSantosCounty</Area>
        <Area>BlaineCounty</Area>
        <Area>SanAndreas</Area>
      </BackupAreas>
      <VehicleSet chance="80">
        <Vehicles>
          <Vehicle>sheriff</Vehicle>
          <Vehicle>sheriff2</Vehicle>
        </Vehicles>
        <Peds>
          <Ped chance="90">s_m_y_sheriff_01</Ped>
          <Ped chance="10">s_f_y_sheriff_01</Ped>
        </Peds>
        <NumPeds min="2" max="2" />
      </VehicleSet>
      <VehicleSet chance="20">
       <Vehicles>
            <Vehicle>fbi</Vehicle>
            <Vehicle>police4</Vehicle>
       </Vehicles>
       <Peds>
          <Ped chance="50">s_m_m_fibsec_01</Ped>
          <Ped chance="50">s_m_m_ciasec_01</Ped>
       </Peds>
       <NumPeds min="1" max="1" /> 
<Weapons>
    <Weapon chance="100">WEAPON_CARBINERIFLE</Weapon>
    <Weapon chance="10">WEAPON_HEAVYSNIPER</Weapon>
    <Weapon chance="10">WEAPON_SMOKEGRENADE</Weapon>
    <Weapon chance="10">WEAPON_ASSAULTSHOTGUN</Weapon>
</Weapons>
       </VehicleSet>
    </BackupRegion>
</LocalPatrol>
 <StatePatrol>
    <BackupRegion nickname="Parksssss">
      <BackupAreas>
        <Area>LosSantos</Area>
        <Area>LosSantosCounty</Area>
        <Area>BlaineCounty</Area>
        <Area>SanAndreas</Area>
      </BackupAreas>
      <VehicleSet>
        <Vehicles>
          <Vehicle livery="3">police</Vehicle>
          <Vehicle>policeold1</Vehicle>
          <Vehicle>policeold2</Vehicle>
        </Vehicles>
        <Peds>
          <Ped chance="90">s_m_y_sheriff_01</Ped>
          <Ped chance="10">s_f_y_sheriff_01</Ped>
        </Peds>
        <NumPeds min="1" max="2" />
      </VehicleSet>
    </BackupRegion>
</StatePatrol>
<NooseSWAT>
    <BackupRegion nickname="NOOSE HQ">
    <BackupAreas>
        <Area>_ALL_</Area>
    </BackupAreas>
    <VehicleSet chance="50">
        <Vehicles>
            <Vehicle>insurgent</Vehicle>
                        <Vehicle>crusader</Vehicle>
        </Vehicles>
        <Peds>
            <Ped prop_head="0">s_m_y_marine_03</Ped>
        </Peds>
        <NumPeds min="2" max="4" />
        <Weapons>
            <Weapon chance="100">WEAPON_CARBINERIFLE</Weapon>
            <Weapon chance="10">WEAPON_HEAVYSNIPER</Weapon>
            <Weapon chance="10">WEAPON_SMOKEGRENADE</Weapon>
            <Weapon chance="10">WEAPON_ASSAULTSHOTGUN</Weapon>
        </Weapons>
    </VehicleSet>
       <VehicleSet chance="50">
        <Vehicles>
          <Vehicle>barracks</Vehicle>
        </Vehicles>
        <Peds>
          <Ped>s_m_y_marine_03</Ped>
        </Peds>
        <NumPeds min="6" max="8" />
        <Weapons>
          <Weapon chance="100">WEAPON_CARBINERIFLE</Weapon>
          <Weapon chance="10">WEAPON_HEAVYSNIPER</Weapon>
          <Weapon chance="10">WEAPON_SMOKEGRENADE</Weapon>
          <Weapon chance="10">WEAPON_ASSAULTSHOTGUN</Weapon>
        </Weapons>
      </VehicleSet>
    </BackupRegion>
 </NooseSWAT>
 <CustomMenuEntries>
  <!-- 
    To add a custom menu entry, it must follow the format shown below and have
    all of the attributes specified: 
        name: the name which shows up on the menu for this option. must be unique. 
        default_type: what internal type of backup this is. must be one of
            LocalPatrol, StatePatrol, NooseSWAT, LocalSWAT, LocalAir, NooseAir
        code2: true/false, whether this entry should be enabled for code 2 backup
        code3: true/false, whether this entry should be enabled for code 3 backup
        pursuit: true/false, whether this entry should be enabled for pursuit backup
        mainmenu: if true, the custom entry will go on the main menu. if false, it will
            go on the "additional options" menu. 
            

 

 

 

The end of the script looks like its missing the --> symbol, or maybe you just forgot to include that in the spolier

EDIT: Its also missing the </CustomBackup> that should be after the <CustomMenuEntries> tag

Edited by Trasheater

Hi

  • Author
On 22/03/2016 at 11:40 PM, Trasheater said:

The end of the script looks like its missing the --> symbol, or maybe you just forgot to include that in the spolier

EDIT: Its also missing the </CustomBackup> that should be after the <CustomMenuEntries> tag

Idk why in the OP I didnt' paste everything, here's the full script and I already have the things you mentioned.

Spoiler

<!-- 

    For the default menu entries like LocalPatrol, NooseAir, etc. you can set
    mainmenu="false" to put that entry on the "additional options" backup menu. 
    By default, all of the regular backup types will be on the main menu if you 
    don't specify the mainmenu attribute. 
    
    To add custom entries to the menu, scroll down towards the end of the file, 
    and look for <CustomMenuEntries>. 

-->

<CustomBackup>
 <LocalPatrol>
    <BackupRegion nickname="Parks">
      <BackupAreas>
        <Area>LosSantos</Area>
      </BackupAreas>
      <VehicleSet>
        <Vehicles>
          <Vehicle>police</Vehicle>
          <Vehicle>police2</Vehicle>
          <Vehicle>police3</Vehicle>
          <Vehicle>police4</Vehicle>
          <Vehicle>pranger</Vehicle>
        </Vehicles>
        <Peds>
          <Ped chance="90">s_m_y_cop_01</Ped>
          <Ped chance="10">s_f_y_cop_01</Ped>
        </Peds>
        <NumPeds min="2" max="2" />
      </VehicleSet>
    </BackupRegion>
    <BackupRegion nickname="SSerer">
      <BackupAreas>
        <Area>LosSantosCounty</Area>
        <Area>BlaineCounty</Area>
        <Area>SanAndreas</Area>
      </BackupAreas>
      <VehicleSet chance="80">
        <Vehicles>
          <Vehicle>sheriff</Vehicle>
          <Vehicle>sheriff2</Vehicle>
        </Vehicles>
        <Peds>
          <Ped chance="90">s_m_y_sheriff_01</Ped>
          <Ped chance="10">s_f_y_sheriff_01</Ped>
        </Peds>
        <NumPeds min="2" max="2" />
      </VehicleSet>
      <VehicleSet chance="20">
       <Vehicles>
            <Vehicle>fbi</Vehicle>
            <Vehicle>police4</Vehicle>
       </Vehicles>
       <Peds>
          <Ped chance="50">s_m_m_fibsec_01</Ped>
          <Ped chance="50">s_m_m_ciasec_01</Ped>
       </Peds>
       <NumPeds min="1" max="1" /> 
<Weapons>
    <Weapon chance="100">WEAPON_CARBINERIFLE</Weapon>
    <Weapon chance="10">WEAPON_HEAVYSNIPER</Weapon>
    <Weapon chance="10">WEAPON_SMOKEGRENADE</Weapon>
    <Weapon chance="10">WEAPON_ASSAULTSHOTGUN</Weapon>
</Weapons>
       </VehicleSet>
    </BackupRegion>
</LocalPatrol>
 <StatePatrol>
    <BackupRegion nickname="Parksssss">
      <BackupAreas>
        <Area>LosSantos</Area>
        <Area>LosSantosCounty</Area>
        <Area>BlaineCounty</Area>
        <Area>SanAndreas</Area>
      </BackupAreas>
      <VehicleSet>
        <Vehicles>
          <Vehicle livery="3">police</Vehicle>
          <Vehicle>policeold1</Vehicle>
          <Vehicle>policeold2</Vehicle>
        </Vehicles>
        <Peds>
          <Ped chance="90">s_m_y_sheriff_01</Ped>
          <Ped chance="10">s_f_y_sheriff_01</Ped>
        </Peds>
        <NumPeds min="1" max="2" />
      </VehicleSet>
    </BackupRegion>
</StatePatrol>
<NooseSWAT>
    <BackupRegion nickname="NOOSE HQ">
    <BackupAreas>
        <Area>_ALL_</Area>
    </BackupAreas>
    <VehicleSet chance="50">
        <Vehicles>
            <Vehicle>insurgent</Vehicle>
                        <Vehicle>crusader</Vehicle>
        </Vehicles>
        <Peds>
            <Ped prop_head="0">s_m_y_marine_03</Ped>
        </Peds>
        <NumPeds min="2" max="4" />
        <Weapons>
            <Weapon chance="100">WEAPON_CARBINERIFLE</Weapon>
            <Weapon chance="10">WEAPON_HEAVYSNIPER</Weapon>
            <Weapon chance="10">WEAPON_SMOKEGRENADE</Weapon>
            <Weapon chance="10">WEAPON_ASSAULTSHOTGUN</Weapon>
        </Weapons>
    </VehicleSet>
       <VehicleSet chance="50">
        <Vehicles>
          <Vehicle>barracks</Vehicle>
        </Vehicles>
        <Peds>
          <Ped>s_m_y_marine_03</Ped>
        </Peds>
        <NumPeds min="6" max="8" />
        <Weapons>
          <Weapon chance="100">WEAPON_CARBINERIFLE</Weapon>
          <Weapon chance="10">WEAPON_HEAVYSNIPER</Weapon>
          <Weapon chance="10">WEAPON_SMOKEGRENADE</Weapon>
          <Weapon chance="10">WEAPON_ASSAULTSHOTGUN</Weapon>
        </Weapons>
      </VehicleSet>
    </BackupRegion>
 </NooseSWAT>
 <CustomMenuEntries>
  <!-- 
    To add a custom menu entry, it must follow the format shown below and have
    all of the attributes specified: 
        name: the name which shows up on the menu for this option. must be unique. 
        default_type: what internal type of backup this is. must be one of
            LocalPatrol, StatePatrol, NooseSWAT, LocalSWAT, LocalAir, NooseAir
        code2: true/false, whether this entry should be enabled for code 2 backup
        code3: true/false, whether this entry should be enabled for code 3 backup
        pursuit: true/false, whether this entry should be enabled for pursuit backup
        mainmenu: if true, the custom entry will go on the main menu. if false, it will
            go on the "additional options" menu. 
            
    Inside the <MenuEntry> tags, you can put in however many <BackupRegion> entries you 
    want, following the same format as described for the rest of this file. 
    
  -->
    </MenuEntry>
  </CustomMenuEntries>
</CustomBackup>

 

 

 

2 hours ago, LtRob said:

Idk why in the OP I didnt' paste everything, here's the full script and I already have the things you mentioned.

Remove the </MenuEntry> tag at the end, since you didnt add any other entries

Hi

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