[ESX] Custom Settings

A script by DARKAOFF

No reviews yet.
[ESX] Custom Settings main image

Price

Unknown

Full Description

This script is written to work with [ESX Legacy]

Features :

  • blacklist ped
  • blacklist Weapons
  • blacklist Car
  • npc relationship ship
  • afk cam
  • hat persist in car
  • not having an automatic helmet on a motorcycle
  • no head critical hit
  • disable heavy melee attack
  • figure stunt
  • Custom esc menu
  • weapon damage

Dependencies:

  • ESX

Config

 
Config.Blacklist    = true                --false TurnOff Blacklist mod, master of {BlacklistCar, BlacklistPed, BlacklistWeapon}
Config.Setting      = {
    BlacklistCar            = true,    --true:     will activate the option [forPlayer]    {need Config.Blacklist = true to work} 
    BlacklistPed            = false,    --true:     will activate the option [ForPlayer]    {need Config.Blacklist = true to work} 
    BlacklistWeapon         = true,    --true:     will activate the option [forPlayer]    {need Config.Blacklist = true to work} 
    npcRelationship         = true,    --true:     will enable the fact that NPCs do not attack you
}
 
Config.afkcam = true
Config.HatVehicles = true -- do not take off the hat in the car and do not put on the automatic helmet on the motorcycle
Config.NoHeadShot = true
Config.DisableHeavyMeleeAttack = true
 
Config.stunt = true
Config.keys = {
    stuntActivation = 21, -- Key to activate cascades (left SHIFT by default)
    stuntForward = 172,  -- Key for cascade forward
    stuntBackward = 173, -- Backward cascade key
    stuntLeft = 174,     -- Key for cascade left
    stuntRight = 175     -- Right cascade button
}
 
Config.lang = {
    FE_THDR_GTAO = '~p~SERVERNAME ~s~|~r~ ID: ~y~',
    PM_PANE_LEAVE = '~o~🛫  Take flight Oceanic 815',
    PM_PANE_QUIT = '~r~🚧  Quit SERVER',
    PM_SCR_MAP = '~b~🗺️  Map',
    PM_SCR_GAM = '~r~🚅  Transport',
    PM_SCR_INF = '~g~📟   Logs',
    PM_SCR_SET = '~p~🧰 Configuration',
    PM_SCR_STA = '~f~⚙️ Statistics',
    PM_SCR_GAL = '~o~🖼️  Gallery',
    PM_SCR_RPL = '~y~🕹️ Editor ∑'
}
 
Config.WeaponsDamage = {
    {"WEAPON_REVOLVER", 0.5},
    {"WEAPON_UNARMED", 0.1}, 
    {"WEAPON_PISTOL", 0.5}, 
    {"WEAPON_SPECIALCARBINE", 0.6}, 
    {"weapon_nightstick", 0.4}, 
    {"weapon_snowball", 0.1}, 
    {"weapon_ball", 0.0}, 
    {"weapon_bat", 0.4}, 
    {"weapon_bottle", 0.3}, 
    {"weapon_crowbar", 0.4}, 
    {"weapon_flashlight", 0.2}, 
    {"weapon_golfclub", 0.4}, 
    {"weapon_hammer", 0.6}, 
    {"weapon_hatchet", 0.8}, 
    {"weapon_knuckle", 0.4}, 
    {"weapon_knife", 0.3}, 
    {"weapon_machete", 0.8}, 
    {"weapon_switchblade", 0.3}, 
    {"weapon_wrench", 0.6}, 
    {"weapon_poolcue", 0.4}, 
    {"weapon_stone_hatchet", 0.6}, 
    {"weapon_sniperrifle", 0.6}, 
    {"weapon_revolver ", 0.3},    
}
 
Config.ListRelationShipTypes = {
    GetHashKey('PLAYER'), 
    GetHashKey('CIVMALE'), GetHashKey('CIVFEMALE'), 
    GetHashKey('GANG_1'), GetHashKey('GANG_2'), GetHashKey('GANG_9'), GetHashKey('GANG_10'), GetHashKey('AMBIENT_GANG_LOST'), GetHashKey('AMBIENT_GANG_MEXICAN'), GetHashKey('AMBIENT_GANG_FAMILY'), GetHashKey('AMBIENT_GANG_BALLAS'), GetHashKey('AMBIENT_GANG_MARABUNTE'), GetHashKey('AMBIENT_GANG_CULT'), GetHashKey('AMBIENT_GANG_SALVA'), GetHashKey('AMBIENT_GANG_WEICHENG'), GetHashKey('AMBIENT_GANG_HILLBILLY'), GetHashKey('DEALER'), 
    GetHashKey('COP'), GetHashKey('PRIVATE_SECURITY'), GetHashKey('SECURITY_GUARD'), GetHashKey('ARMY'), GetHashKey('MEDIC'), GetHashKey('FIREMAN'), GetHashKey('HATES_PLAYER'), GetHashKey('NO_RELATIONSHIP'), GetHashKey('SPECIAL'), GetHashKey('MISSION2'), GetHashKey('MISSION3'), GetHashKey('MISSION4'), GetHashKey('MISSION5'), GetHashKey('MISSION6'), GetHashKey('MISSION7'), GetHashKey('MISSION8')
}
 
--List of message you see in chat
Config.String = {
    BlacklistCar        = "Ce véhicule est blacklist!",
    BlacklistPed        = "Ce ped est blacklist!",
    BlacklistWeapon     = "Cette arme est blacklist",
}
 
--List of car blacklist {need Config.Setting.BlacklistCar = true}
Config.carBlacklist = {
	"RHINO",
	"CERBERUS2",
	"CERBERUS3",
	"PHANTOM2",
	"ANNIHILATOR",
	"BUZARD",
	"VALKYRIE2",
	"ANNIHILATOR2",
	"KHANJALI",
	"TRAILERSMALL2",
	"DUNE2",
	"MENACER",
	"TECHNICAL",
	"TECHNICAL2",
	"TECHNICAL2",
	"LAZER",
	"BUZARD",
	"HYDRA",
	"ALKONOST",
	"VIGILANTE",
	"SCRAMJET",
	"CARACARA",
	"OPPRESSOR",
	"OPPRESSOR2",
	"LIMO2",
	"DINGHY5",
	"VOLTIC2",
	"DELUXO",
	"STROMBERG",
	"TOREADOR",
	"THRUSTER",
}
 
Config.disableallweapons = false
--List of weapon blacklist {need Config.Setting.BlacklistWeapon = true}
Config.weaponblacklist = {
	"WEAPON_MINIGUN",
	"WEAPON_RAYPISTOL",
	"WEAPON_RAYCARBINE",
	"WEAPON_HEAVYSNIPER_MK2",
	"WEAPON_HEAVYSNIPER",
	"WEAPON_RPG",
	"WEAPON_GRENADELAUNCHER",
	"WEAPON_RAILGUN",
	"WEAPON_RAYMINIGUN",
	"WEAPON_HOMINGLAUNCHER",
	"WEAPON_FIREWORK",
	"WEAPON_COMPACTLAUNCHER",
	"WEAPON_PROXMINE",
	"WEAPON_HAZARDCAN",
}
 
Config.pedblacklist = {
	--"a_f_m_bodybuild_01",                     --just for test
}

Screenshot


Purchase Link [ESCROW]

If you have any suggestions for improvement, please do not hesitate.

This resource uses FiveM’s Asset Escrow System

Code is accessible No
Subscription-based No
Requirements esx
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily