Jump to content
×
×
  • Create New...
  • 0

Restricted vehicle.json don't work


storkeur
Reason for Locking
none

By storkeur, on 11/14/20 03:02 PM.

Question

With the configuration, when I am in department 2 it is always possible for me to spawn the different vehicles.
it looks like the restrictions don't work

 

Config

{
	"police": [
		{
			"name": "PN : Mégane",
			"vehicle": "police10",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN : Octavia",
			"vehicle": "police2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN : 308",
			"vehicle": "police3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN : Berlingo",
			"vehicle": "police7",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN : Expert",
			"vehicle": "police5",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN : Mégane SW",
			"vehicle": "police9",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN BAC : Passat",
			"vehicle": "police4",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN Banalisé : Octavia",
			"vehicle": "police6",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN CDI: Traffic",
			"vehicle": "police8",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "PN Motard: BMW",
			"vehicle": "bike1",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "GN : Mégane SW",
			"vehicle": "sheriff3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "GN : Expert",
			"vehicle": "sheriff4",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "GN : Duster",
			"vehicle": "sheriff6",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "GN : Kodiaq",
			"vehicle": "sheriff7",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "GN BRI: Cupra",
			"vehicle": "sheriff5",
			"isAvailableForEveryone": false,
	        "useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "GN Banalisé : 508",
			"vehicle": "fbi",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "GN Motard: BMW",
			"vehicle": "bike2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "GN Maritime:  Zodiac",
			"vehicle": "dinghy",
			"isAvailableForEveryone": false,
	        "useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "SP: PS",
			"vehicle": "firetruk",
			"isAvailableForEveryone": false,
	        "useRanks": false,
			"availableForDepartments": [3]
		},
		{
			"name": "SP: PickUp Lance",
			"vehicle": "firetruk2",
			"isAvailableForEveryone": false,
	        "useRanks": false,
			"availableForDepartments": [3]
		},
		{
			"name": "SP:  Ambulance",
			"vehicle": "ambulance",
			"isAvailableForEveryone": false,
	        "useRanks": false,
			"availableForDepartments": [3]
		},
		{
			"name": "SP: L200 Remorque",
			"vehicle": "lguard2",
			"isAvailableForEveryone": false,
	        "useRanks": false,
			"availableForDepartments": [3]
		}
		
	],
	"ambulance": ["ambulance"],
	"airAmbulance": ["polmav"],
	"firedept": ["firetruk"],
	"coroner": ["speedo"],
	"towtruck": ["flatbed"],
	"mechanic": ["utillitruck3"],
	"prisontransport": ["police"],
	"animalControl": ["bison"],
	"taxi": ["taxi"]
}

 

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.