$200 Steam Giftcard Raffle | Sponsored by TF1A3 ×
Jump to content
×
×
  • Create New...
  • 0

Can't get loadouts to become available based on department.


Drewdaddy07
 Share

Reason for Locking
Solved. If you have any further issues, please create a new thread.

By Lucky, on 11/24/21 03:41 AM.

Question

I tried to make a certain loadout only accessible for the rank CHIEF OF POLICE, and only for the department LSPD. I tried to title the department in the Fivepd Config editor both Los Santos Police Department and the number "1". None of these worked for my friend who is not an admin. He always got the loadout if he had the rank CHIEF OF POLICE and it didnt matter what department he was in. Any help with this would be awesome.

Edited by Drewdaddy07
Spelling
Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I figuered it out. Hears the code if anybody wanted to do it themselves.

{
  "Loadout 1": {
    "isAvailableForEveryone": true,
    "weapons": [
      {
        "weapon": "WEAPON_PISTOL",
        "components": [
          "COMPONENT_PISTOL_CLIP_02",
          "COMPONENT_AT_PI_FLSH",
          "COMPONENT_AT_PI_SUPP_02"
        ],
        "ammo": 250
      },
      {
        "weapon": "WEAPON_STUNGUN",
        "ammo": 250
      },
      {
        "weapon": "WEAPON_NIGHTSTICK",
        "ammo": 250
      },
      {
        "weapon": "WEAPON_FIREEXTINGUISHER",
        "ammo": 1000
      }
    ]
  },
  "Loadout 2": {
    "isAvailableForEveryone": false,
    "useRanks": true,
    "availableForRanks": [
      "CHIEF OF POLICE",
      "Officer II"
    ],
    "weapons": [
      {
        "weapon": "WEAPON_CARBINERIFLE",
        "components": [
          "COMPONENT_AT_AR_AFGRIP",
          "COMPONENT_AT_AR_SUPP",
          "COMPONENT_AT_AR_FLSH",
          "COMPONENT_CARBINERIFLE_CLIP_02"
        ],
        "ammo": 250
      }
    ],
    "availableForDepartments": [
      3
    ]
  },
  "Loadout 3": {
    "isAvailableForEveryone": false,
    "useRanks": false,
    "availableForDepartments": [
      3
    ],
    "weapons": [
      {
        "weapon": "WEAPON_MARKSMANRIFLE",
        "ammo": 250
      }
    ]
	},
  "Sniper": {
    "isAvailableForEveryone": false,
    "useRanks": true,
    "availableForRanks": [
      "CHIEF OF POLICE",
      "Officer II"
    ],
    "availableForDepartments": [
      3
    ],
    "weapons": [
      {
        "weapon": "WEAPON_MARKSMANRIFLE",
        "ammo": 250
      }
    ]
	},
  "Sniper": {
    "isAvailableForEveryone": false,
    "useRanks": true,
    "availableForRanks": [
      "CHIEF OF POLICE",
      "Officer II"
    ],
    "availableForDepartments": [
      3
    ],
    "weapons": [
      {
        "weapon": "WEAPON_MARKSMANRIFLE",
        "ammo": 250
      }
    ]
  }
}

 

Link to post
Share on other sites

  • 0
  • Community Administrator

Content Lock Notice Visual

This content has been locked by the GPM Community Team. If you feel this was a mistake, please report this reply with a valid reason.

 

 

Luckysig.png

 

GTAPoliceMods Community Administrator

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Important Information

Thanks for visiting GPM. As a user of the GTAPoliceMods platform, we ask that you review the Terms of Use, Privacy Policy, and Guidelines. These principles allow us to continue fostering a great community. We have placed cookies on your device to help improve your experience. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.