Fivepd no spike strips?

I have no idea how to activate them on add on vehicles let alone the vanilla is there a line of code I gotta add?

Also not able to select spike strips.

Using Shift + E at rear of cars - have Intuitive Menus on and no option for spike strips.

Am I missing a resource or should this be built into FivePD?
Thanks!

Ok, RESOLVED my issue here.

Not sure if I have downloaded an older vehicles.json config file, but each defined vehicle has a number of attributes allowing it properties and permissions for each player.

If you want to allow a particular vehicle to have spike strips, you need to add the following parameter:
"isSpikeStripAvailable": true

Below is a full sample of this resources/fivepd/config/vehicles.json:

{
	"police": [
		{
			"name": "Police",
			"vehicle": "police",
			"isAvailableForEveryone": true,
			"isSpikeStripAvailable": true
		},
		{
			"name": "Police 2",
			"vehicle": "police2",
			"isAvailableForEveryone": true,
			"useRanks": true,
			"availableForRanks": ["Officer I", "Officer II"],
			"availableForDepartments": [],
			"isSpikeStripAvailable": true
		},
		{
			"name": "Police 3",
			"vehicle": "police3",
			"isAvailableForEveryone": true,
			"useRanks": false,
			"availableForRanks": ["Detective I", "Detective II"],
			"availableForDepartments": [18],
			"isSpikeStripAvailable": true
		},
		{
			"name": "Police 4",
			"vehicle": "police4",
			"isAvailableForEveryone": true,
			"useRanks": false,
			"availableForDepartments": [19],
			"isSpikeStripAvailable": true
		},
		{
			"name": "sheriff2",
			"vehicle": "sheriff2",
			"isAvailableForEveryone": true,
			"isSpikeStripAvailable": true
		}
	],
	"ambulance": ["ambulance"],
	"airAmbulance": ["polmav"],
	"firedept": ["firetruk"],
	"coroner": ["pony"],
	"towtruck": ["flatbed"],
	"mechanic": ["sadler"],
	"prisontransport": ["policet"],
	"animalControl": ["kennel"],
	"taxi": ["taxi"]
}

Yeah I solved mine as well. I forgot to add the true/false lol

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.