Shopping Cart
JD WhitelistV2 Ace Permission VehicleWeapon Whitelisting Releases

JD_WhitelistV2 | Ace Permission Vehicle/Weapon Whitelisting – Releases


Ace Permission based Whitelisting

Vehicle Whitelisting:

You can add a Vehicle to the Whitelist.
Only people with the Ace Permission given to the model are allowed to drive it.
(Optional: you can make the vehicle delete if the driver isn’t allowed to use it.)

Config.Vehicles = {
	{GetHashKey("apc"), "jd.stafff","0"},
	{GetHashKey("MODEL_NAME"), "ACE_PERMISSION","DELETE_LVL"},
}

Use 1 to delete a vehicle and 0 to keep it.

Ped Whitelisting:

Ped whitelisting only needs the model name and the ace permission.
If they use a ped they are not allowed to use it gets replaces with Maikel’s character

Config.Peds = {
	{GetHashKey("mp_m_freemode_01"), "jd.staff"},
	{GetHashKey("MODEL_NAME"), "ACE_PERMISSION"},
}

Weapon Whitelisting:

Weapon whitelisting only needs the model name and the ace permission.
If they hold the weapon they aren’t allowed to use it gets deleted.

Config.Weapons = {
	{GetHashKey("WEAPON_PISTOL"), "jd.staff"},
	{GetHashKey("MODEL_NAME"), "ACE_PERMISSION"},
}

Weapon Attachments Whitelisting:

Weapon Attachments whitelisting only needs the model name and the ace permission.
If they hold the weapon with the attachment they aren’t allowed to use it gets deleted.

Config.WeaponComponents = {
	{GetHashKey("COMPONENT_AT_PI_SUPP_02"), "jd.staff"},
	{GetHashKey("MODEL_NAME"), "ACE_PERMISSION"},
}



Original source: https://forum.cfx.re/t/jd-whitelistv2-ace-permission-vehicle-weapon-whitelisting/2239683

Leave a Reply
FiveM ESX Scripts

The best scripts and maps

Best support

Problems? We are there to help!

Wide range of products

We have a wide range of products

100% Secure Checkout

Easy and encrypted