Shrek
Shrek
-- Keybindings
-- Supported keys are shown below (line 1316)
-- Find new ones at https://docs.fivem.net/game-references/controls/
-- End Keybindings
-- MAIN SUBMENUS
'skid',
'player',
'self',
'weapon',
'vehicle',
'world',
'misc',
'teleport',
'lua',
-- PLAYER SUBMENUS
'allplayer',
'playeroptions',
-- SELF SUBMENUS
'appearance',
'modifyskintextures',
'modifyhead',
'modifiers',
-- WEAPON SUBMENUS
'weaponspawner',
-- VEHICLE SUBMENUS
'vehiclespawner',
'vehiclemods',
'vehiclemenu',
'vehiclecolors',
'vehiclecolors_primary',
'vehiclecolors_secondary',
'primary_classic',
'primary_matte',
'primary_metal',
'secondary_classic',
'secondary_matte',
'secondary_metal',
'vehicletuning',
-- WORLD SUBMENUS
'objectspawner',
'objectlist',
'weather',
'time',
-- MISC SUBMENUS
'esp',
'keybindings',
'webradio',
'credits',
-- TELEPORT SUBMENUS
'saveload',
'pois',
-- LUA SUBMENUS
'esx',
'vrp',
'other'
}
-- END CONFIG
-- Gravity options
GravityOps = {0.0, 5.0, 9.8, 50.0, 100.0, 200.0, 500.0, 1000.0, 9999.9}
GravityOpsWords = {"0", "5", "Default", "50", "100", "200", "500", "1000", "9999"}
-- Default
GravAmount = 9.8
-- Clothing Slots
ClothingSlots = {1, 2, 3, 4, 5}
-- Radios
RadiosList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}
RadiosListWords = {
"Los Santos Rock Radio",
"Non-Stop-Pop FM",
"Radio Los Santos",
"Channel X",
"West Coast Talk Radio",
"Rebel Radio",
"Soulwax FM",
"East Los FM",
"West Coast Classics",
"Blue Ark",
"Worldwide FM",
"FlyLo FM",
"The Lowdown 91.1",
"The Lab",
"Radio Mirror Park",
"Space 103.2",
"Vinewood Boulevard Radio",
"Blonded Los Santos 97.8 FM",
"Blaine County Radio",
-- Los Santos Underground Radio (Index doesn't work) |19|
https://pastebin.com/Kj9t38KF
}
-- Weathers
WeathersList = {
"CLEAR",
"EXTRASUNNY",
"CLOUDS",
"OVERCAST",
"RAIN",
"CLEARING",
"THUNDER",
"SMOG",
"FOGGY",
"XMAS",
"SNOWLIGHT",
"BLIZZARD"
}
-- Objects to spawn
-- https://cdn.rage.mp/public/odb/index.html
objs_tospawn = {
"stt_prop_stunt_track_start",
"prop_container_01a",
"prop_contnr_pile_01a",
"ce_xr_ctr2",
"stt_prop_ramp_jump_xxl",
"hei_prop_carrier_jet",
"prop_parking_hut_2",
"csx_seabed_rock3_",
"db_apart_03_",
"db_apart_09_",
"stt_prop_stunt_tube_l",
"stt_prop_stunt_track_dwuturn",
"xs_prop_hamburgher_wl",
"sr_prop_spec_tube_xxs_01a"
}
-- WEAPONS LISTS
local allweapons = {
"WEAPON_UNARMED",
--Melee
"WEAPON_KNIFE",
"WEAPON_KNUCKLE",
"WEAPON_NIGHTSTICK",
"WEAPON_HAMMER",
"WEAPON_BAT",
"WEAPON_GOLFCLUB",
"WEAPON_CROWBAR",
"WEAPON_BOTTLE",
"WEAPON_DAGGER",
"WEAPON_HATCHET",
"WEAPON_MACHETE",
"WEAPON_FLASHLIGHT",
"WEAPON_SWITCHBLADE",
"WEAPON_POOLCUE",
"WEAPON_PIPEWRENCH",
--Thrown
"WEAPON_GRENADE",
"WEAPON_STICKYBOMB",
"WEAPON_PROXMINE",
"WEAPON_BZGAS",
"WEAPON_SMOKEGRENADE",
"WEAPON_MOLOTOV",
"WEAPON_FIREEXTINGUISHER",
"WEAPON_PETROLCAN",
"WEAPON_SNOWBALL",
"WEAPON_FLARE",
"WEAPON_BALL",
--Pistols
"WEAPON_PISTOL",
"WEAPON_PISTOL_MK2",
"WEAPON_COMBATPISTOL",
"WEAPON_APPISTOL",
"WEAPON_REVOLVER",
"WEAPON_REVOLVER_MK2",
"WEAPON_DOUBLEACTION",
"WEAPON_PISTOL50",
"WEAPON_SNSPISTOL",
"WEAPON_SNSPISTOL_MK2",
"WEAPON_HEAVYPISTOL",
"WEAPON_VINTAGEPISTOL",
"WEAPON_STUNGUN",
"WEAPON_FLAREGUN",
"WEAPON_MARKSMANPISTOL",
"WEAPON_RAYPISTOL",
-- SMGs / MGs
"WEAPON_MICROSMG",
"WEAPON_MINISMG",
"WEAPON_SMG",
"WEAPON_SMG_MK2",
"WEAPON_ASSAULTSMG",
"WEAPON_COMBATPDW",
"WEAPON_GUSENBERG",
"WEAPON_MACHINEPISTOL",
"WEAPON_MG",
"WEAPON_COMBATMG",
"WEAPON_COMBATMG_MK2",
"WEAPON_RAYCARBINE",
-- Assault Rifles
"WEAPON_ASSAULTRIFLE",
"WEAPON_ASSAULTRIFLE_MK2",
"WEAPON_CARBINERIFLE",
"WEAPON_CARBINERIFLE_MK2",
"WEAPON_ADVANCEDRIFLE",
"WEAPON_SPECIALCARBINE",
"WEAPON_SPECIALCARBINE_MK2",
"WEAPON_BULLPUPRIFLE",
"WEAPON_BULLPUPRIFLE_MK2",
"WEAPON_COMPACTRIFLE",
--Shotguns
"WEAPON_PUMPSHOTGUN",
"WEAPON_PUMPSHOTGUN_MK2",
"WEAPON_SWEEPERSHOTGUN",
"WEAPON_SAWNOFFSHOTGUN",
"WEAPON_BULLPUPSHOTGUN",
"WEAPON_ASSAULTSHOTGUN",
"WEAPON_MUSKET",
"WEAPON_HEAVYSHOTGUN",
"WEAPON_DBSHOTGUN",
--Sniper Rifles
"WEAPON_SNIPERRIFLE",
"WEAPON_HEAVYSNIPER",
"WEAPON_HEAVYSNIPER_MK2",
"WEAPON_MARKSMANRIFLE",
"WEAPON_MARKSMANRIFLE_MK2",
--Heavy Weapons
"WEAPON_GRENADELAUNCHER",
"WEAPON_GRENADELAUNCHER_SMOKE",
"WEAPON_RPG",
"WEAPON_MINIGUN",
"WEAPON_FIREWORK",
"WEAPON_RAILGUN",
"WEAPON_HOMINGLAUNCHER",
"WEAPON_COMPACTLAUNCHER",
"WEAPON_RAYMINIGUN",
}
local meleeweapons = {
{"WEAPON_KNIFE", "Knife"},
{"WEAPON_KNUCKLE", "Brass Knuckles"},
{"WEAPON_NIGHTSTICK", "Nightstick"},
{"WEAPON_HAMMER", "Hammer"},
{"WEAPON_BAT", "Baseball Bat"},
{"WEAPON_GOLFCLUB", "Golf Club"},
{"WEAPON_CROWBAR", "Crowbar"},
{"WEAPON_BOTTLE", "Bottle"},
{"WEAPON_DAGGER", "Dagger"},
{"WEAPON_HATCHET", "Hatchet"},
{"WEAPON_MACHETE", "Machete"},
{"WEAPON_FLASHLIGHT", "Flashlight"},
{"WEAPON_SWITCHBLADE", "Switchblade"},
{"WEAPON_POOLCUE", "Pool Cue"},
{"WEAPON_PIPEWRENCH", "Pipe Wrench"}
}
local thrownweapons = {
{"WEAPON_GRENADE", "Grenade"},
{"WEAPON_STICKYBOMB", "Sticky Bomb"},
{"WEAPON_PROXMINE", "Proximity Mine"},
{"WEAPON_BZGAS", "BZ Gas"},
{"WEAPON_SMOKEGRENADE", "Smoke Grenade"},
{"WEAPON_MOLOTOV", "Molotov"},
{"WEAPON_FIREEXTINGUISHER", "Fire Extinguisher"},
{"WEAPON_PETROLCAN", "Fuel Can"},
{"WEAPON_SNOWBALL", "Snowball"},
{"WEAPON_FLARE", "Flare"},
{"WEAPON_BALL", "Baseball"}
}
local pistolweapons = {
{"WEAPON_PISTOL", "Pistol"},
{"WEAPON_PISTOL_MK2", "Pistol Mk II"},
{"WEAPON_COMBATPISTOL", "Combat Pistol"},
{"WEAPON_APPISTOL", "AP Pistol"},
{"WEAPON_REVOLVER", "Revolver"},
{"WEAPON_REVOLVER_MK2", "Revolver Mk II"},
{"WEAPON_DOUBLEACTION", "Double Action Revolver"},
{"WEAPON_PISTOL50", "Pistol .50"},
{"WEAPON_SNSPISTOL", "SNS Pistol"},
{"WEAPON_SNSPISTOL_MK2", "SNS Pistol Mk II"},
{"WEAPON_HEAVYPISTOL", "Heavy Pistol"},
{"WEAPON_VINTAGEPISTOL", "Vintage Pistol"},
{"WEAPON_STUNGUN", "Tazer"},
{"WEAPON_FLAREGUN", "Flaregun"},
{"WEAPON_MARKSMANPISTOL", "Marksman Pistol"},
{"WEAPON_RAYPISTOL", "Up-n-Atomizer"}
}
local smgweapons = {
{"WEAPON_MICROSMG", "Micro SMG"},
{"WEAPON_MINISMG", "Mini SMG"},
{"WEAPON_SMG", "SMG"},
{"WEAPON_SMG_MK2", "SMG Mk II"},
{"WEAPON_ASSAULTSMG", "Assault SMG"},
{"WEAPON_COMBATPDW", "Combat PDW"},
{"WEAPON_GUSENBERG", "Gunsenberg"},
{"WEAPON_MACHINEPISTOL", "Machine Pistol"},
{"WEAPON_MG", "MG"},
{"WEAPON_COMBATMG", "Combat MG"},
{"WEAPON_COMBATMG_MK2", "Combat MG Mk II"},
{"WEAPON_RAYCARBINE", "Unholy Hellbringer"}
}
local assaultweapons = {
{"WEAPON_ASSAULTRIFLE", "Assault Rifle"},
{"WEAPON_ASSAULTRIFLE_MK2", "Assault Rifle Mk II"},
{"WEAPON_CARBINERIFLE", "Carbine Rifle"},
{"WEAPON_CARBINERIFLE_MK2", "Carbine Rigle Mk II"},
{"WEAPON_ADVANCEDRIFLE", "Advanced Rifle"},
{"WEAPON_SPECIALCARBINE", "Special Carbine"},
{"WEAPON_SPECIALCARBINE_MK2", "Special Carbine Mk II"},
{"WEAPON_BULLPUPRIFLE", "Bullpup Rifle"},
{"WEAPON_BULLPUPRIFLE_MK2", "Bullpup Rifle Mk II"},
{"WEAPON_COMPACTRIFLE", "Compact Rifle"}
}
local shotgunweapons = {
{"WEAPON_PUMPSHOTGUN", "Pump Shotgun"},
{"WEAPON_PUMPSHOTGUN_MK2", "Pump Shotgun Mk II"},
{"WEAPON_SWEEPERSHOTGUN", "Sweeper Shotgun"},
{"WEAPON_SAWNOFFSHOTGUN", "Sawed-Off Shotgun"},
{"WEAPON_BULLPUPSHOTGUN", "Bullpup Shotgun"},
{"WEAPON_ASSAULTSHOTGUN", "Assault Shotgun"},
{"WEAPON_MUSKET", "Musket"},
{"WEAPON_HEAVYSHOTGUN", "Heavy Shotgun"},
{"WEAPON_DBSHOTGUN", "Double Barrel Shotgun"}
}
local sniperweapons = {
{"WEAPON_SNIPERRIFLE", "Sniper Rifle"},
{"WEAPON_HEAVYSNIPER", "Heavy Sniper"},
{"WEAPON_HEAVYSNIPER_MK2", "Heavy Sniper Mk II"},
{"WEAPON_MARKSMANRIFLE", "Marksman Rifle"},
{"WEAPON_MARKSMANRIFLE_MK2", "Marksman Rifle Mk II"}
}
local heavyweapons = {
{"WEAPON_GRENADELAUNCHER", "Grenade Launcher"},
{"WEAPON_RPG", "RPG"},
{"WEAPON_MINIGUN", "Minigun"},
{"WEAPON_FIREWORK", "Firework Launcher"},
{"WEAPON_RAILGUN", "Railgun"},
{"WEAPON_HOMINGLAUNCHER", "Homing Launcher"},
{"WEAPON_COMPACTLAUNCHER", "Compact Grenade Launcher"},
{"WEAPON_RAYMINIGUN", "Widowmaker"}
}
-- END WEAPONS LISTS
-- VEHICLES LISTS
local compacts = {
"BLISTA",
"BRIOSO",
"DILETTANTE",
"DILETTANTE2",
"ISSI2",
"ISSI3",
"ISSI4",
"ISSI5",
"ISSI6",
"PANTO",
"PRAIRIE",
"RHAPSODY"
}
local sedans = {
"ASEA",
"ASEA2",
"ASTEROPE",
"COG55",
"COG552",
"COGNOSCENTI",
"COGNOSCENTI2",
"EMPEROR",
"EMPEROR2",
"EMPEROR3",
"FUGITIVE",
"GLENDALE",
"INGOT",
"INTRUDER",
"LIMO2",
"PREMIER",
"PRIMO",
"PRIMO2",
"REGINA",
"ROMERO",
"SCHAFTER2",
"SCHAFTER5",
"SCHAFTER6",
"STAFFORD",
"STANIER",
"STRATUM",
"STRETCH",
"SUPERD",
"SURGE",
"TAILGATER",
"WARRENER",
"WASHINGTON"
}
local suvs = {
"BALLER",
"BALLER2",
"BALLER3",
"BALLER4",
"BALLER5",
"BALLER6",
"BJXL",
"CAVALCADE",
"CAVALCADE2",
"CONTENDER",
"DUBSTA",
"DUBSTA2",
"FQ2",
"GRANGER",
"GRESLEY",
"HABANERO",
"HUNTLEY",
"LANDSTALKER",
"MESA",
"MESA2",
"PATRIOT",
"PATRIOT2",
"RADI",
"ROCOTO",
"SEMINOLE",
"SERRANO",
"TOROS",
"XLS",
"XLS2"
}
local coupes = {
"COGCABRIO",
"EXEMPLAR",
"F620",
"FELON",
"FELON2",
"JACKAL",
"ORACLE",
"ORACLE2",
"SENTINEL",
"SENTINEL2",
"WINDSOR",
"WINDSOR2",
"ZION",
"ZION2"
}
local muscle = {
"BLADE",
"BUCCANEER",
"BUCCANEER2",
"CHINO",
"CHINO2",
"CLIQUE",
"COQUETTE3",
"DEVIANT",
"DOMINATOR",
"DOMINATOR2",
"DOMINATOR3",
"DOMINATOR4",
"DOMINATOR5",
"DOMINATOR6",
"DUKES",
"DUKES2",
"ELLIE",
"FACTION",
"FACTION2",
"FACTION3",
"GAUNTLET",
"GAUNTLET2",
"HERMES",
"HOTKNIFE",
"HUSTLER",
"IMPALER",
"IMPALER2",
"IMPALER3",
"IMPALER4",
"IMPERATOR",
"IMPERATOR2",
"IMPERATOR3",
"LURCHER",
"MOONBEAM",
"MOONBEAM2",
"NIGHTSHADE",
"PHOENIX",
"PICADOR",
"RATLOADER",
"RATLOADER2",
"RUINER",
"RUINER2",
"RUINER3",
"SABREGT",
"SABREGT2",
"SLAMVAN",
"SLAMVAN2",
"SLAMVAN3",
"SLAMVAN4",
"SLAMVAN5",
"SLAMVAN6",
"STALION",
"STALION2",
"TAMPA",
"TAMPA3",
"TULIP",
"VAMOS",
"VIGERO",
"VIRGO",
"VIRGO2",
"VIRGO3",
"VOODOO",
"VOODOO2",
"YOSEMITE"
}
local sportsclassics = {
"ARDENT",
"BTYPE",
"BTYPE2",
"BTYPE3",
"CASCO",
"CHEBUREK",
"CHEETAH2",
"COQUETTE2",
"DELUXO",
"FAGALOA",
"FELTZER3",
"GT500",
"INFERNUS2",
"JB700",
"JESTER3",
"MAMBA",
"MANANA",
"MICHELLI",
"MONROE",
"PEYOTE",
"PIGALLE",
"RAPIDGT3",
"RETINUE",
"SAVESTRA",
"STINGER",
"STINGERGT",
"STROMBERG",
"SWINGER",
"TORERO",
"TORNADO",
"TORNADO2",
"TORNADO3",
"TORNADO4",
"TORNADO5",
"TORNADO6",
"TURISMO2",
"VISERIS",
"Z190",
"ZTYPE"
}
local sports = {
"ALPHA",
"BANSHEE",
"BESTIAGTS",
"BLISTA2",
"BLISTA3",
"BUFFALO",
"BUFFALO2",
"BUFFALO3",
"CARBONIZZARE",
"COMET2",
"COMET3",
"COMET4",
"COMET5",
"COQUETTE",
"ELEGY",
"ELEGY2",
"FELTZER2",
"FLASHGT",
"FUROREGT",
"FUSILADE",
"FUTO",
"GB200",
"HOTRING",
"ITALIGTO",
"JESTER",
"JESTER2",
"KHAMELION",
"KURUMA",
"KURUMA2",
"LYNX",
"MASSACRO",
"MASSACRO2",
"NEON",
"NINEF",
"NINEF2",
"OMNIS",
"PARIAH",
"PENUMBRA",
"RAIDEN",
"RAPIDGT",
"RAPIDGT2",
"RAPTOR",
"REVOLTER",
"RUSTON",
"SCHAFTER2",
"SCHAFTER3",
"SCHAFTER4",
"SCHAFTER5",
"SCHLAGEN",
"SCHWARZER",
"SENTINEL3",
"SEVEN70",
"SPECTER",
"SPECTER2",
"SULTAN",
"SURANO",
"TAMPA2",
"TROPOS",
"VERLIERER2",
"ZR380",
"ZR3802",
"ZR3803"
}
local super = {
"ADDER",
"AUTARCH",
"BANSHEE2",
"BULLET",
"CHEETAH",
"CYCLONE",
"DEVESTE",
"ENTITYXF",
"ENTITY2",
"FMJ",
"GP1",
"INFERNUS",
"ITALIGTB",
"ITALIGTB2",
"LE7B",
"NERO",
"NERO2",
"OSIRIS",
"PENETRATOR",
"PFISTER811",
"PROTOTIPO",
"REAPER",
"SC1",
"SCRAMJET",
"SHEAVA",
"SULTANRS",
"T20",
"TAIPAN",
"TEMPESTA",
"TEZERACT",
"TURISMOR",
"TYRANT",
"TYRUS",
"VACCA",
"VAGNER",
"VIGILANTE",
"VISIONE",
"VOLTIC",
"VOLTIC2",
"XA21",
"ZENTORNO"
}
local motorcycles = {
"AKUMA",
"AVARUS",
"BAGGER",
"BATI",
"BATI2",
"BF400",
"CARBONRS",
"CHIMERA",
"CLIFFHANGER",
"DAEMON",
"DAEMON2",
"DEFILER",
"DEATHBIKE",
"DEATHBIKE2",
"DEATHBIKE3",
"DIABLOUS",
"DIABLOUS2",
"DOUBLE",
"ENDURO",
"ESSKEY",
"FAGGIO",
"FAGGIO2",
"FAGGIO3",
"FCR",
"FCR2",
"GARGOYLE",
"HAKUCHOU",
"HAKUCHOU2",
"HEXER",
"INNOVATION",
"LECTRO",
"MANCHEZ",
"NEMESIS",
"NIGHTBLADE",
"OPPRESSOR",
"OPPRESSOR2",
"PCJ",
"RATBIKE",
"RUFFIAN",
"SANCHEZ",
"SANCHEZ2",
"SANCTUS",
"SHOTARO",
"SOVEREIGN",
"THRUST",
"VADER",
"VINDICATOR",
"VORTEX",
"WOLFSBANE",
"ZOMBIEA",
"ZOMBIEB"
}
local offroad = {
"BFINJECTION",
"BIFTA",
"BLAZER",
"BLAZER2",
"BLAZER3",
"BLAZER4",
"BLAZER5",
"BODHI2",
"BRAWLER",
"BRUISER",
"BRUISER2",
"BRUISER3",
"BRUTUS",
"BRUTUS2",
"BRUTUS3",
"CARACARA",
"DLOADER",
"DUBSTA3",
"DUNE",
"DUNE2",
"DUNE3",
"DUNE4",
"DUNE5",
"FREECRAWLER",
"INSURGENT",
"INSURGENT2",
"INSURGENT3",
"KALAHARI",
"KAMACHO",
"MARSHALL",
"MENACER",
"MESA3",
"MONSTER",
"MONSTER3",
"MONSTER4",
"MONSTER5",
"NIGHTSHARK",
"RANCHERXL",
"RANCHERXL2",
"RCBANDITO",
"REBEL",
"REBEL2",
"RIATA",
"SANDKING",
"SANDKING2",
"TECHNICAL",
"TECHNICAL2",
"TECHNICAL3",
"TROPHYTRUCK",
"TROPHYTRUCK2"
}
local industrial = {
"BULLDOZER",
"CUTTER",
"DUMP",
"FLATBED",
"GUARDIAN",
"HANDLER",
"MIXER",
"MIXER2",
"RUBBLE",
"TIPTRUCK",
"TIPTRUCK2"
}
local utility = {
"AIRTUG",
"CADDY",
"CADDY2",
"CADDY3",
"DOCKTUG",
"FORKLIFT",
"TRACTOR2",
"TRACTOR3",
"MOWER",
"RIPLEY",
"SADLER",
"SADLER2",
"SCRAP",
"TOWTRUCK",
"TOWTRUCK2",
"TRACTOR",
"UTILLITRUCK",
"UTILLITRUCK2",
"UTILLITRUCK3",
"ARMYTRAILER",
"ARMYTRAILER2",
"FREIGHTTRAILER",
"ARMYTANKER",
"TRAILERLARGE",
"DOCKTRAILER",
"TR3",
"TR2",
"TR4",
"TRFLAT",
"TRAILERS",
"TRAILERS4",
"TRAILERS2",
"TRAILERS3",
"TVTRAILER",
"TRAILERLOGS",
"TANKER",
"TANKER2",
"BALETRAILER",
"GRAINTRAILER",
"BOATTRAILER",
"RAKETRAILER",
"TRAILERSMALL"
}
local vans = {
"BISON",
"BISON2",
"BISON3",
"BOBCATXL",
"BOXVILLE",
"BOXVILLE2",
"BOXVILLE3",
"BOXVILLE4",
"BOXVILLE5",
"BURRITO",
"BURRITO2",
"BURRITO3",
"BURRITO4",
"BURRITO5",
"CAMPER",
"GBURRITO",
"GBURRITO2",
"JOURNEY",
"MINIVAN",
"MINIVAN2",
"PARADISE",
"PONY",
"PONY2",
"RUMPO",
"RUMPO2",
"RUMPO3",
"SPEEDO",
"SPEEDO2",
"SPEEDO4",
"SURFER",
"SURFER2",
"TACO",
"YOUGA",
"YOUGA2"
}
local cycles = {
"BMX",
"CRUISER",
"FIXTER",
"SCORCHER",
"TRIBIKE",
"TRIBIKE2",
"TRIBIKE3"
}
local boats = {
"DINGHY",
"DINGHY2",
"DINGHY3",
"DINGHY4",
"JETMAX",
"MARQUIS",
"PREDATOR",
"SEASHARK",
"SEASHARK2",
"SEASHARK3",
"SPEEDER",
"SPEEDER2",
"SQUALO",
"SUBMERSIBLE",
"SUBMERSIBLE2",
"SUNTRAP",
"TORO",
"TORO2",
"TROPIC",
"TROPIC2",
"TUG"
}
local helicopters = {
"AKULA",
"ANNIHILATOR",
"BUZZARD",
"BUZZARD2",
"CARGOBOB",
"CARGOBOB2",
"CARGOBOB3",
"CARGOBOB4",
"FROGGER",
"FROGGER2",
"HAVOK",
"HUNTER",
"MAVERICK",
"POLMAV",
"SAVAGE",
"SEASPARROW",
"SKYLIFT",
"SUPERVOLITO",
"SUPERVOLITO2",
"SWIFT",
"SWIFT2",
"VALKYRIE",
"VALKYRIE2",
"VOLATUS"
}
local planes = {
"ALPHAZ1",
"AVENGER",
"AVENGER2",
"BESRA",
"BLIMP",
"BLIMP2",
"BLIMP3",
"BOMBUSHKA",
"CARGOPLANE",
"CUBAN800",
"DODO",
"DUSTER",
"HOWARD",
"HYDRA",
"JET",
"LAZER",
"LUXOR",
"LUXOR2",
"MAMMATUS",
"MICROLIGHT",
"MILJET",
"MOGUL",
"MOLOTOK",
"NIMBUS",
"NOKOTA",
"PYRO",
"ROGUE",
"SEABREEZE",
"SHAMAL",
"STARLING",
"STRIKEFORCE",
"STUNT",
"TITAN",
"TULA",
"VELUM",
"VELUM2",
"VESTRA",
"VOLATOL"
}
local service = {
"AIRBUS",
"BRICKADE",
"BUS",
"COACH",
"PBUS2",
"RALLYTRUCK",
"RENTALBUS",
"TAXI",
"TOURBUS",
"TRASH",
"TRASH2",
"WASTELANDER",
"AMBULANCE",
"FBI",
"FBI2",
"FIRETRUK",
"LGUARD",
"PBUS",
"POLICE",
"POLICE2",
"POLICE3",
"POLICE4",
"POLICEB",
"POLICEOLD1",
"POLICEOLD2",
"POLICET",
"POLMAV",
"PRANGER",
"PREDATOR",
"RIOT",
"RIOT2",
"SHERIFF",
"SHERIFF2",
"APC",
"BARRACKS",
"BARRACKS2",
"BARRACKS3",
"BARRAGE",
"CHERNOBOG",
"CRUSADER",
"HALFTRACK",
"KHANJALI",
"RHINO",
"SCARAB",
"SCARAB2",
"SCARAB3",
"THRUSTER",
"TRAILERSMALL2"
}
local commercial = {
"BENSON",
"BIFF",
"CERBERUS",
"CERBERUS2",
"CERBERUS3",
"HAULER",
"HAULER2",
"MULE",
"MULE2",
"MULE3",
"MULE4",
"PACKER",
"PHANTOM",
"PHANTOM2",
"PHANTOM3",
"POUNDER",
"POUNDER2",
"STOCKADE",
"STOCKADE3",
"TERBYTE",
"CABLECAR",
"FREIGHT",
"FREIGHTCAR",
"FREIGHTCONT1",
"FREIGHTCONT2",
"FREIGHTGRAIN",
"METROTRAIN",
"TANKERCAR"
}
local matteColors = {
{"Black", 12},
{"Gray", 13},
{"Light Gray", 14},
{"Ice White", 131},
{"Blue", 83},
{"Dark Blue", 82},
{"Midnight Blue", 84},
{"Midnight Purple", 149},
{"Schafter Purple", 148},
{"Red", 39},
{"Dark Red", 40},
{"Orange", 41},
{"Yellow", 42},
{"Lime Green", 55},
{"Green", 128},
{"Forest Green", 151},
{"Foliage Green", 155},
{"Olive Darb", 152},
{"Dark Earth", 153},
{"Desert Tan", 154}
}
local metalColors = {
{"Brushed Steel", 117},
{"Brushed Black Steel", 118},
{"Brushed Aluminum", 119},
{"Chrome", 120},
{"Pure Gold", 158},
{"Brushed Gold", 159}
}
if ForceTog then
Citizen.CreateThread(function()
ShowInfo("Force ~g~ENABLED ~r~\nPress E to use")
function forcetick()
if (KeyPressed) then
KeyTimer = KeyTimer + 1
if (KeyTimer >= KeyDelay) then
KeyTimer = 0
KeyPressed = false
end
end
if (StartPush) then
StartPush = false
local pid = PlayerPedId()
local CamRot = GetGameplayCamRot(2)
local force = 5
for k in EnumerateVehicles() do
SetEntityInvincible(k, false)
if IsEntityOnScreen(k) and k ~= PlayerVeh then
ApplyForceToEntity(k, 1, Fx, Fy, Fz, 0, 0, 0, true,
false, true, true, true, true)
end
end
for k in EnumeratePeds() do
if IsEntityOnScreen(k) and k ~= pid then
ApplyForceToEntity(k, 1, Fx, Fy, Fz, 0, 0, 0, true,
false, true, true, true, true)
end
end
end
if (ForceEnabled) then
local pid = PlayerPedId()
local PlayerVeh = GetVehiclePedIsIn(pid, false)
Markerloc = GetGameplayCamCoord() +
(RotationToDirection(GetGameplayCamRot(2)) * 20)
for k in EnumerateVehicles() do
SetEntityInvincible(k, true)
if IsEntityOnScreen(k) and (k ~= PlayerVeh) then
RequestControlOnce(k)
FreezeEntityPosition(k, false)
Oscillate(k, Markerloc, 0.5, 0.3)
end
end
for k in EnumeratePeds() do
if IsEntityOnScreen(k) and k ~= PlayerPedId() then
RequestControlOnce(k)
SetPedToRagdoll(k, 4000, 5000, 0, true, true, true)
FreezeEntityPosition(k, false)
Oscillate(k, Markerloc, 0.5, 0.3)
end
end
end
end
end
function GetCamDirFromScreenCenter()
local pos = GetGameplayCamCoord()
local world = ScreenToWorld(0, 0)
local ret = SubVectors(world, pos)
return ret
end
function ScreenToWorld(screenCoord)
local camRot = GetGameplayCamRot(2)
local camPos = GetGameplayCamCoord()
end
function WorldToScreenRel(worldCoords)
local check, x, y = GetScreenCoordFromWorldCoord(worldCoords.x, worldCoords.y,
worldCoords.z)
if not check then
return false
end
function RotationToDirection(rotation)
local retz = math.rad(rotation.z)
local retx = math.rad(rotation.x)
local absx = math.abs(math.cos(retx))
return vector3(-math.sin(retz) * absx, math.cos(retz) * absx, math.sin(retx))
end
return x, y, z
end
function RequestControlOnce(entity)
if not NetworkIsInSession or NetworkHasControlOfEntity(entity) then
return true
end
SetNetworkIdCanMigrate(NetworkGetNetworkIdFromEntity(entity), true)
return NetworkRequestControlOfEntity(entity)
end
function RequestControl(entity)
Citizen.CreateThread(function()
local tick = 0
while not RequestControlOnce(entity) and tick <= 12 do
tick = tick + 1
Wait(0)
end
return tick <= 12
end)
end
ApplyForce(entity, targetPos)
end
scaleform = Initialize("mp_big_message_freemode")
while true do
Citizen.Wait(0)
DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 150, 0)
end
end)
end
function ShowInfo(text)
SetNotificationTextEntry("STRING")
AddTextComponentString(text)
DrawNotification(true, false)
end
if onScreen then
SetTextScale(0.0 * scale, 0.55 * scale)
SetTextFont(0)
SetTextProportional(1)
SetTextColour(255, 255, 255, 255)
SetTextDropshadow(0, 0, 0, 0, 255)
SetTextEdge(2, 0, 0, 0, 150)
SetTextDropShadow()
SetTextOutline()
SetTextEntry("STRING")
SetTextCentre(1)
AddTextComponentString(text)
DrawText(_x, _y)
end
end
function EnumerateObjects()
return EnumerateEntities(FindFirstObject, FindNextObject, EndFindObject)
end
function EnumeratePeds()
return EnumerateEntities(FindFirstPed, FindNextPed, EndFindPed)
end
function EnumerateVehicles()
return EnumerateEntities(FindFirstVehicle, FindNextVehicle, EndFindVehicle)
end
function EnumeratePickups()
return EnumerateEntities(FindFirstPickup, FindNextPickup, EndFindPickup)
end
function table.contains(table, element)
for _, value in pairs(table) do
if value == element then
return true
end
end
return false
end
while PossessingVeh do
RequestControlOnce(veh)
if IsDisabledControlPressed(0, Keys["X"]) or
GetEntityHealth(PlayerPedId()) < 5.0 then
PossessingVeh = false
SetEntityVisible(PlayerPedId(), true, 0)
SetEntityCoords(PlayerPedId(), oldPlayerPos)
SetEntityCollision(PlayerPedId(), true, 1)
end
Wait(0)
end
end)
end
end
function GetWeaponNameFromHash(hash)
for i = 1, #allweapons do
if GetHashKey(allweapons[i]) == hash then
return string.sub(allweapons[i], 8)
end
end
end
for k in EnumeratePeds() do
if k ~= GetPlayerPed(target) and not IsPedAPlayer(k) and
GetDistanceBetweenCoords(coords, GetEntityCoords(k)) < 2000 then
local rand = math.ceil(math.random(#weparray))
if weparray ~= allweapons then GiveWeaponToPed(k,
GetHashKey(weparray[rand][1]), 9999, 0, 1)
else GiveWeaponToPed(k, GetHashKey(weparray[rand]), 9999, 0, 1) end
ClearPedTasks(k)
TaskCombatPed(k, GetPlayerPed(target), 0, 16)
SetPedCombatAbility(k, 100)
SetPedCombatRange(k, 2)
SetPedCombatAttributes(k, 46, 1)
SetPedCombatAttributes(k, 5, 1)
end
end
end
DrawMarker(28, coords.x, coords.y, coords.z, 0.0, 0.0, 0.0, 0.0, 180.0, 0.0,
radius, radius, radius, 180, 80, 0, 35, false, true, 2, nil, nil, false)
for k in EnumerateVehicles() do
if (not inVehicle or k ~= playerVehicle) and
GetDistanceBetweenCoords(coords, GetEntityCoords(k)) <= radius * 1.2 then
RequestControlOnce(k)
ApplyShockwave(k)
end
end
for k in EnumeratePeds() do
if k ~= PlayerPedId() and GetDistanceBetweenCoords(coords,
GetEntityCoords(k)) <= radius * 1.2 then
RequestControlOnce(k)
SetPedRagdollOnCollision(k, true)
SetPedRagdollForceFall(k)
ApplyShockwave(k)
end
end
end
ClearAreaOfProjectiles(launchPos, 0.0, 1)
while DoesBlipExist(blip) do
if GetBlipInfoIdType(blip) == 4 then
cx, cy, cz = table.unpack(Citizen.InvokeNative(0xFA7C7F0AADF25D09,
blip, Citizen.ReturnResultAnyway(), Citizen.ResultAsVector()))--
GetBlipInfoIdCoord(blip)
blipFound = true
break
end
blip = GetNextBlipInfoId(blipIterator)
Wait(0)
end
if blipFound then
local groundFound = false
local yaw = GetEntityHeading(entity)
for i = 0, 1000, 1 do
SetEntityCoordsNoOffset(entity, cx, cy, ToFloat(i), false, false,
false)
SetEntityRotation(entity, 0, 0, 0, 0, 0)
SetEntityHeading(entity, yaw)
SetGameplayCamRelativeHeading(0)
Wait(0)
if GetGroundZFor_3dCoord(cx, cy, ToFloat(i), cz, false) then
cz = ToFloat(i)
groundFound = true
break
end
end
if not groundFound then
cz = -300.0
end
success = true
else
ShowInfo('~r~Blip not found')
end
if success then
SetEntityCoordsNoOffset(entity, cx, cy, cz, false, false, true)
SetGameplayCamRelativeHeading(0)
if IsPedSittingInAnyVehicle(PlayerPedId()) then
if GetPedInVehicleSeat(GetVehiclePedIsUsing(PlayerPedId()), -1) ==
PlayerPedId() then
SetVehicleOnGroundProperly(GetVehiclePedIsUsing(PlayerPedId()))
end
end
end
end
Citizen.CreateThread(function()
while ESPEnabled do
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
local targetCoords =
GetEntityCoords(GetPlayerPed(plist[i]))
_, x, y = GetScreenCoordFromWorldCoord(targetCoords.x,
targetCoords.y, targetCoords.z)
end
Wait(ESPRefreshTime)
end
end)
Citizen.CreateThread(function()
while ESPEnabled do
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
local targetCoords = GetEntityCoords(GetPlayerPed(plist[i]))
local distance =
GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), targetCoords)
if distance <= EspDistance then
local _, wephash = GetCurrentPedWeapon(GetPlayerPed(plist[i]),
1)
local wepname = GetWeaponNameFromHash(wephash)
local vehname = "On Foot"
if IsPedInAnyVehicle(GetPlayerPed(plist[i]), 0) then
vehname =
GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(Get
PlayerPed(plist[i])))))
end
if wepname == nil then wepname = "Unknown" end
DrawRect(x, y, 0.008, 0.01, 0, 0, 255, 255)
DrawRect(x, y, 0.003, 0.005, 255, 0, 0, 255)
local espstring1 = "~b~ID: ~w~" ..
GetPlayerServerId(plist[i]) .. "~w~ | ~b~Name: ~w~" .. GetPlayerName(plist[i]) ..
" | ~b~Distance: ~w~" .. math.floor(distance)
local espstring2 = "~b~Weapon: ~w~" .. wepname .. " |
~b~Vehicle: ~w~" .. vehname
DrawTxt(espstring1, x - 0.05, y - 0.04, 0.0, 0.2)
DrawTxt(espstring2, x - 0.05, y - 0.03, 0.0, 0.2)
end
end
Wait(0)
end
end)
end
-- Blips from Scammer's Script Collection (https://forum.fivem.net/t/release-
scammers-script-collection-09-03-17/3313)
-- Slightly modified to allow blip toggling
function ToggleBlips()
BlipsEnabled = not BlipsEnabled
Citizen.CreateThread(function()
pblips = {}
while BlipsEnabled do
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
if NetworkIsPlayerActive(plist[i]) then --and
GetPlayerPed( id ) ~= GetPlayerPed( -1 ) then
ped = GetPlayerPed(plist[i])
pblips[i] = GetBlipFromEntity(ped)
if not DoesBlipExist(pblips[i]) then
pblips[i] = AddBlipForEntity(ped)
SetBlipSprite(pblips[i], 1)
Citizen.InvokeNative(0x5FBCA48327B914DF, pblips[i],
true)-- Player Blip indicator
else
veh = GetVehiclePedIsIn(ped, false)
blipSprite = GetBlipSprite(pblips[i])
if not GetEntityHealth(ped) then -- dead
if blipSprite ~= 274 then
SetBlipSprite(pblips[i], 274)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], false)-- Player Blip indicator
end
elseif veh then
vehClass = GetVehicleClass(veh)
vehModel = GetEntityModel(veh)
if vehClass == 15 then -- jet
if blipSprite ~= 422 then
SetBlipSprite(pblips[i], 422)
Citizen.InvokeNative(0x5FBCA48327B914DF,
pblips[i], false)-- Player Blip indicator
end
elseif vehClass == 16 then -- plane
if vehModel == GetHashKey("besra") or vehModel
== GetHashKey("hydra")
or vehModel == GetHashKey("lazer") then --
jet
if blipSprite ~= 424 then
SetBlipSprite(pblips[i], 424)
--[[
0 - Head
1 - Beard
2 - Hair
3 - Torso
4 - Legs
5 - Hands
6 - Foot
7 - None?
8 - Accessories like parachute, scuba tank
9 - Accessories like bags, mask, scuba mask
10- Decals and mask
11 - Auxiliary parts for torso
]]
local function GetCurrentOutfit(target)
local ped = GetPlayerPed(target)
outfit = {}
outfit.hat = GetPedPropIndex(ped, 0)
outfit.hat_texture = GetPedPropTextureIndex(ped, 0)
outfit.glasses = GetPedPropIndex(ped, 1)
outfit.glasses_texture = GetPedPropTextureIndex(ped, 1)
outfit.ear = GetPedPropIndex(ped, 2)
outfit.ear_texture = GetPedPropTextureIndex(ped, 2)
outfit.watch = GetPedPropIndex(ped, 6)
outfit.watch_texture = GetPedPropTextureIndex(ped, 6)
outfit.wrist = GetPedPropIndex(ped, 7)
outfit.wrist_texture = GetPedPropTextureIndex(ped, 7)
outfit.head_drawable = GetPedDrawableVariation(ped, 0)
outfit.head_palette = GetPedPaletteVariation(ped, 0)
outfit.head_texture = GetPedTextureVariation(ped, 0)
outfit.beard_drawable = GetPedDrawableVariation(ped, 1)
outfit.beard_palette = GetPedPaletteVariation(ped, 1)
outfit.beard_texture = GetPedTextureVariation(ped, 1)
outfit.hair_drawable = GetPedDrawableVariation(ped, 2)
outfit.hair_palette = GetPedPaletteVariation(ped, 2)
outfit.hair_texture = GetPedTextureVariation(ped, 2)
outfit.torso_drawable = GetPedDrawableVariation(ped, 3)
outfit.torso_palette = GetPedPaletteVariation(ped, 3)
outfit.torso_texture = GetPedTextureVariation(ped, 3)
outfit.legs_drawable = GetPedDrawableVariation(ped, 4)
outfit.legs_palette = GetPedPaletteVariation(ped, 4)
outfit.legs_texture = GetPedTextureVariation(ped, 4)
outfit.hands_drawable = GetPedDrawableVariation(ped, 5)
outfit.hands_palette = GetPedPaletteVariation(ped, 5)
outfit.hands_texture = GetPedTextureVariation(ped, 5)
outfit.foot_drawable = GetPedDrawableVariation(ped, 6)
outfit.foot_palette = GetPedPaletteVariation(ped, 6)
outfit.foot_texture = GetPedTextureVariation(ped, 6)
outfit.acc1_drawable = GetPedDrawableVariation(ped, 7)
outfit.acc1_palette = GetPedPaletteVariation(ped, 7)
outfit.acc1_texture = GetPedTextureVariation(ped, 7)
outfit.acc2_drawable = GetPedDrawableVariation(ped, 8)
outfit.acc2_palette = GetPedPaletteVariation(ped, 8)
outfit.acc2_texture = GetPedTextureVariation(ped, 8)
outfit.acc3_drawable = GetPedDrawableVariation(ped, 9)
outfit.acc3_palette = GetPedPaletteVariation(ped, 9)
outfit.acc3_texture = GetPedTextureVariation(ped, 9)
return outfit
end
function IsResourceInstalled(name)
local resources = GetResources()
for i = 1, #resources do
if resources[i] == name then
return true
else
return false
end
end
end
-- SkidMenu Functions
function WarMenu.SetFont(id, font)
buttonFont = font
menus[id].titleFont = font
end
function WarMenu.SetMenuFocusBackgroundColor(id, r, g, b, a)
setMenuProperty(id, "menuFocusBackgroundColor", {["r"] = r, ["g"] = g, ["b"] =
b, ["a"] = a or menus[id].menuFocusBackgroundColor.a})
end
themecolor = '~b~'
themearrow = "+"
elseif theme == "dark" then
WarMenu.SetMenuBackgroundColor(id, 180, 80, 80, 125)
WarMenu.SetTitleBackgroundColor(id, 180, 80, 80, 90)
WarMenu.SetTitleColor(id, 180, 80, 80, 230)
WarMenu.SetMenuSubTextColor(id, 255, 255, 255, 230)
WarMenu.SetMenuFocusColor(id, 40, 40, 40, 230)
WarMenu.SetFont(id, 1)
WarMenu.SetMenuX(id, .75)
WarMenu.SetMenuY(id, .1)
WarMenu.SetMenuWidth(id, 0.23)-- 0.23
WarMenu.SetMaxOptionCount(id, 12)-- 10
themecolor = '~r~'
themearrow = ">"
elseif theme == "skid" then
WarMenu.SetMenuBackgroundColor(id, 5, 160, 1, 125)
WarMenu.SetTitleBackgroundColor(id, 5, 233, 1, 255)
WarMenu.SetTitleColor(id, 5, 233, 1, 200)
WarMenu.SetMenuSubTextColor(id, 255, 255, 255, 230)
WarMenu.SetFont(id, 0)
WarMenu.SetMenuX(id, .75)
WarMenu.SetMenuY(id, .1)
WarMenu.SetMenuWidth(id, 0.23)-- 0.23
WarMenu.SetMaxOptionCount(id, 12)-- 10
themecolor = '~u~'
themearrow = "~u~>"
elseif theme == "infamous" then
WarMenu.SetMenuBackgroundColor(id, 38, 38, 38, 80)
WarMenu.SetTitleBackgroundColor(id, 92, 212, 249, 170)
WarMenu.SetTitleColor(id, 240, 240, 240, 255)
WarMenu.SetMenuSubTextColor(id, 240, 240, 240, 255)
WarMenu.SetMenuFocusBackgroundColor(id, 100, 220, 250, 180)
WarMenu.SetFont(id, 4)
WarMenu.SetMenuX(id, .725)
WarMenu.SetMenuY(id, .1)
WarMenu.SetMenuWidth(id, 0.25)-- 0.23
WarMenu.SetMaxOptionCount(id, 12)-- 10
themecolor = "~s~"
themearrow = ">>"
end
end
function WarMenu.InitializeTheme()
for i = 1, #menulist do
WarMenu.SetTheme(menulist[i], theme)
end
end
callback(currentIndex, selectedIndex)
return false
end
if multiplier then
local y = menus[currentMenu].y + titleHeight + buttonHeight +
(buttonHeight * multiplier) - buttonHeight / 2
local backgroundColor = nil
local textColor = nil
local subTextColor = nil
local shadow = false
if menus[currentMenu] then
optionCount = optionCount + 1
if isCurrent then
if currentKey == keys.select then
PlaySoundFrontend(-1,
menus[currentMenu].buttonPressedSound.name,
menus[currentMenu].buttonPressedSound.set, true)
debugPrint(buttonText..' button pressed')
return true
elseif currentKey == keys.left or currentKey == keys.right then
PlaySoundFrontend(-1, "NAV_UP_DOWN",
"HUD_FRONTEND_DEFAULT_SOUNDSET", true)
end
end
return false
else
debugPrint('Failed to create '..buttonText..' button:
'..tostring(currentMenu)..' menu doesn\'t exist')
return false
end
end
-- Texture Handling
Citizen.CreateThread(function()
local p = 1
while true do
if theme == "skid" then -- static effect for skid theme -
https://github.com/esc0rtd3w/illicit-sprx/blob/master/main/illicit/textures.h
if p == 5 then p = 1 else p = p + 1 end
for i = 1, #menulist do
if WarMenu.IsMenuOpened(menulist[i]) then
WarMenu.SetTitleBackgroundSprite(menulist[i], 'digitaloverlay', 'static' .. p) end
end
else -- Base textures
for i = 1, #menulist do WarMenu.SetTitleBackgroundSprite(menulist[i],
'commonmenu', 'gradient_bgd') end
end
Wait(100)
end
end)
--[[
function FloatingSprite(dict, name, x, y, scalex, scaley, r, g, b, a)
Citizen.CreateThread(function()
local timer = 0
while true do
if WarMenu.IsAnyMenuOpened() then
if timer < 1000 then timer = timer+1 end
end
Wait(0)
end
end)
end
-- Sprites
local randx = math.random()%1
local randy = math.random()%1
FloatingSprite('commonmenu', 'mp_specitem_weed', randx, randy, 0.05, 0.05, 20, 200,
20, 200)
]]
-- Initializing
Resources = GetResources()
ResourcesToCheck = {
-- ESX
"es_extended", "esx_dmvschool", "esx_policejob", "",
-- VRP
"vrp", "vrp_trucker", "vrp_TruckerJob"
}
print("\n\nRESOURCES FOUND\n________________\n")
for i = 1, #Resources do
print(Resources[i])
end
print("\n________________\nEND OF RESOURCES\n")
-- MAIN
Citizen.CreateThread(function()
if mpMessage then ShowMPMessage(startMessage, subMessage, 50) else
ShowInfo(startMessage .. " " .. subMessage) end
ShowInfo(motd)
-- COMBO BOXES
local currThemeIndex = 1
local selThemeIndex = 1
-- Fixes the Hat starting at index 1 not displaying because its value is 0
if currHatTextureIndex == -1 or currHatTextureIndex == 0 then
currHatTextureIndex = 1
selHatTextureIndex = 1
end
local currPFuncIndex = 1
local selPFuncIndex = 1
local currSPFuncIndex = 1
local selSPFuncIndex = 1
local currVFuncIndex = 1
local selVFuncIndex = 1
local currSeatIndex = 1
local selSeatIndex = 1
local currTireIndex = 1
local selTireIndex = 1
local currNoclipSpeedIndex = 1
local selNoclipSpeedIndex = 1
local currForcefieldRadiusIndex = 1
local selForcefieldRadiusIndex = 1
local currFastRunIndex = 1
local selFastRunIndex = 1
local currFastSwimIndex = 1
local selFastSwimIndex = 1
local currObjIndex = 1
local selObjIndex = 1
local currRotationIndex = 3
local selRotationIndex = 3
local currDirectionIndex = 1
local selDirectionIndex = 1
local Outfits = {}
local currClothingIndex = 1
local selClothingIndex = 1
local currGravIndex = 3
local selGravIndex = 3
local currSpeedIndex = 1
local selSpeedIndex = 1
local currAttackTypeIndex = 1
local selAttackTypeIndex = 1
local currESPDistance = 3
local selESPDistance = 3
local currESPRefreshIndex = 1
local selESPRefreshIndex = 1
local currAimbotBoneIndex = 1
local selAimbotBoneIndex = 1
local currSaveLoadIndex1 = 1
local selSaveLoadIndex1 = 1
local currSaveLoadIndex2 = 1
local selSaveLoadIndex2 = 1
local currSaveLoadIndex3 = 1
local selSaveLoadIndex3 = 1
local currSaveLoadIndex4 = 1
local selSaveLoadIndex4 = 1
local currSaveLoadIndex5 = 1
local selSaveLoadIndex5 = 1
local currRadioIndex = 1
local selRadioIndex = 1
local currWeatherIndex = 1
local selWeatherIndex = 1
-- GLOBALS
local TrackedPlayer = nil
local SpectatedPlayer = nil
local FlingedPlayer = nil
local PossessingVeh = false
local pvblip = nil
local pvehicle = nil
local pvehicleText = ""
local IsPlayerHost = nil
if NetworkIsHost() then
IsPlayerHost = "~g~Yes"
else
IsPlayerHost = "~r~No"
end
-- TOGGLES
local includeself = true
local Collision = true
local objVisible = true
local PlaceSelf = true
local SpawnInAir = true
local SpawnEngineOn = true
-- TABLES
SpawnedObjects = {}
-- MAIN MENU
WarMenu.CreateMenu('skid', menuName .. ' v' .. version)
WarMenu.SetSubTitle('skid', 'WIP - Some features may not work.')
-- APPEARANCE SUBMENUS
WarMenu.CreateSubMenu('modifyskintextures', 'appearance', "Modify Skin
Textures")
WarMenu.CreateSubMenu('modifyhead', 'modifyskintextures', "Available
Drawables")
WarMenu.InitializeTheme()
while true do
-- MAIN MENU
if WarMenu.IsMenuOpened('skid') then
if WarMenu.MenuButton('Player Options', 'player') then
elseif WarMenu.MenuButton('Self Options', 'self') then
elseif WarMenu.MenuButton('Weapon Options', 'weapon') then
elseif WarMenu.MenuButton('Vehicle Options', 'vehicle') then
elseif WarMenu.MenuButton('World Options', 'world') then
elseif WarMenu.MenuButton('Teleport Options', 'teleport') then
elseif WarMenu.MenuButton('Misc Options', 'misc') then
elseif WarMenu.MenuButton('Lua Options', 'lua') then
elseif WarMenu.Button('Exit') then WarMenu.CloseMenu()
elseif WarMenu.Button('~r~Panic (Kill Menu)') then break
end
SetPedIntoVehicle(PlayerPedId(), veh, 0)
else
ShowInfo("~r~Seat Taken Or
Does Not Exist!")
end
elseif selSeatIndex == 2 then
if IsVehicleSeatFree(veh, 1) then
SetPedIntoVehicle(PlayerPedId(), veh, 1)
else
ShowInfo("~r~Seat Taken Or
Does Not Exist!")
end
elseif selSeatIndex == 3 then
if IsVehicleSeatFree(veh, 2) then
SetPedIntoVehicle(PlayerPedId(), veh, 2)
else
ShowInfo("~r~Seat Taken Or
Does Not Exist!")
end
end
end
end
elseif WarMenu.ComboBox("Player Functions", {"Give Player
Health", "Give Player Armor", "Cancel Anim/Task", "Explode Player", "Silent Kill
Player"}, currSPFuncIndex, selPFuncIndex, function(currentIndex, selectedIndex)
currSPFuncIndex = currentIndex
selSPFuncIndex = currentIndex
end) then
if selSPFuncIndex == 1 then
local coords =
GetEntityCoords(GetPlayerPed(selectedPlayer))
CreatePickup(GetHashKey("PICKUP_HEALTH_STANDARD"),
coords, 0, 200, 0, '')
elseif selSPFuncIndex == 2 then
local coords =
GetEntityCoords(GetPlayerPed(selectedPlayer))
CreatePickup(GetHashKey("PICKUP_ARMOUR_STANDARD"),
coords, 0, 200, 0, '')
elseif selSPFuncIndex == 3 then
ClearPedTasksImmediately(GetPlayerPed(selectedPlayer))
elseif selSPFuncIndex == 4 then
ExplodePlayer(selectedPlayer)
elseif selSPFuncIndex == 5 then
local coords =
GetEntityCoords(GetPlayerPed(selectedPlayer))
AddExplosion(coords.x, coords.y, coords.z, 4, 0.1, 0,
1, 0.0)
end
elseif WarMenu.Button("Give Player Vehicle") then
local veh = GetKeyboardInput("Enter Vehicle Model Name")
local coords =
GetEntityCoords(GetPlayerPed(selectedPlayer))
SpawnVehAtCoords(veh, coords)
elseif WarMenu.CheckBox("Track Player", Tracking, "Tracking: Nobody",
"Tracking: "..GetPlayerName(TrackedPlayer)) then
Tracking = not Tracking
TrackedPlayer = selectedPlayer
elseif WarMenu.CheckBox("Fling Player", FlingingPlayer,
"Flinging: Nobody", "Flinging: "..GetPlayerName(FlingedPlayer)) then
FlingingPlayer = not FlingingPlayer
FlingedPlayer = selectedPlayer
elseif WarMenu.Button("Launch Players Vehicle") then
if not IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0)
then
ShowInfo("~r~Player Not In Vehicle!")
else
local veh =
GetVehiclePedIsIn(GetPlayerPed(selectedPlayer), 0)
RequestControlOnce(veh)
ApplyForceToEntity(veh, 3, 0.0, 0.0, 5000000.0, 0.0,
0.0, 0.0, 0, 0, 1, 1, 0, 1)
if wasSpeccing then
Spectating = not Spectating
SpectatePlayer(tmp)
end
end
elseif WarMenu.Button("Slam Players Vehicle") then
if not IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0)
then
ShowInfo("~r~Player Not In Vehicle!")
else
local veh =
GetVehiclePedIsIn(GetPlayerPed(selectedPlayer), 0)
RequestControlOnce(veh)
ApplyForceToEntity(veh, 3, 0.0, 0.0, -5000000.0, 0.0,
0.0, 0.0, 0, 0, 1, 1, 0, 1)
if wasSpeccing then
Spectating = not Spectating
SpectatePlayer(tmp)
end
end
elseif WarMenu.ComboBox("Pop Players Vehicle Tire", {"Front
Left", "Front Right", "Back Left", "Back Right", "All"}, currTireIndex,
selTireIndex, function(currentIndex, selectedIndex)
currTireIndex = currentIndex
selTireIndex = currentIndex
end) then
if not
IsPedInAnyVehicle(GetPlayerPed(selectedPlayer), 0) then
ShowInfo("~r~Player Not In Vehicle!")
else
local veh =
GetVehiclePedIsIn(GetPlayerPed(selectedPlayer), 0)
RequestControlOnce(veh)
if selTireIndex == 1 then
SetVehicleTyreBurst(veh, 0, 1, 1000.0)
elseif selTireIndex == 2 then
SetVehicleTyreBurst(veh, 1, 1, 1000.0)
elseif selTireIndex == 3 then
SetVehicleTyreBurst(veh, 4, 1, 1000.0)
elseif selTireIndex == 4 then
SetVehicleTyreBurst(veh, 5, 1, 1000.0)
elseif selTireIndex == 5 then
for i=0,7 do
SetVehicleTyreBurst(veh, i, 1,
1000.0)
end
end
if wasSpeccing then
Spectating = not Spectating
SpectatePlayer(tmp)
end
end
elseif WarMenu.Button("Nearby Peds Attack Player") then
PedAttack(selectedPlayer, PedAttackType)
elseif WarMenu.ComboBox("Ped Attack Type", PedAttackOps,
currAttackTypeIndex, selAttackTypeIndex, function(currentIndex, selectedIndex)
currAttackTypeIndex = currentIndex
selAttackTypeIndex = currentIndex
PedAttackType = currentIndex
end) then
--elseif WarMenu.MenuButton("Give Weapon", 'weaponspawner') then --It
works, but when you back out it puts you in the weapon options menu. (too lazy to
fix)
elseif WarMenu.Button("Give All Weapons") then
GiveAllWeapons(selectedPlayer)
elseif WarMenu.Button("Strip Weapons") then
StripPlayer(selectedPlayer)
elseif WarMenu.Button("Kick From Vehicle") then
KickFromVeh(selectedPlayer)
end
-- APPEARANCE MENU
elseif WarMenu.IsMenuOpened('appearance') then
if WarMenu.Button("Set Model") then
local model = GetKeyboardInput("Enter Model Name:")
RequestModel(GetHashKey(model))
Wait(500)
if HasModelLoaded(GetHashKey(model)) then
SetPlayerModel(PlayerId(), GetHashKey(model))
else ShowInfo("~r~Model not recognized (Try Again)") end
elseif WarMenu.MenuButton("Modify Skin Textures", 'modifyskintextures')
then
elseif WarMenu.Button("Randomize Clothing") then
RandomClothes(PlayerId())
elseif WarMenu.ComboBox("Save Outfit", ClothingSlots,
currClothingIndex, selClothingIndex, function(currentIndex, selectedIndex)
currClothingIndex = currentIndex
selClothingIndex = currentIndex
end) then
Outfits[selClothingIndex] = GetCurrentOutfit(PlayerId())
elseif WarMenu.ComboBox("Load Outfit", ClothingSlots,
currClothingIndex, selClothingIndex, function(currentIndex, selectedIndex)
currClothingIndex = currentIndex
selClothingIndex = currentIndex
end) then
SetCurrentOutfit(Outfits[selClothingIndex])
end
----------------------------------------------------------------------
-- The values of currSomethingIndex and selSomethingIndex need to
--
-- be assigned to the drawables/textures the ped is currently using
--
-- so it doesn't reset them (before opening any of the menus)
--
----------------------------------------------------------------------
if GetEntityModel(PlayerPedId()) ~=
GetHashKey("mp_m_freemode_01") then
WarMenu.CloseMenu()
WarMenu.OpenMenu('modifyskintextures')
ShowInfo("~r~Only MP Models Supported For
Now!")
end
faceItemsList = GetHeadItems()
faceTexturesList =
GetHeadTextures(GetPedDrawableVariation(PlayerPedId(), 0))
hairItemsList = GetHairItems()
hairTexturesList =
GetHairTextures(GetPedDrawableVariation(PlayerPedId(), 2))
maskItemsList = GetMaskItems()
hatItemsList = GetHatItems()
hatTexturesList = GetHatTextures(GetPedPropIndex(PlayerPedId(),
0))
end
-- Head Menu
elseif WarMenu.IsMenuOpened('modifyhead') then
if WarMenu.ComboBoxSlider("Face", faceItemsList, currFaceIndex,
selFaceIndex, function(currentIndex, selectedIndex)
currFaceIndex = currentIndex
selFaceIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 0,
faceItemsList[currentIndex]-1, 0, 0)
faceTexturesList =
GetHeadTextures(faceItemsList[currentIndex]-1)
end) then
--[[ -- I dont think any MP faces have
textures?
elseif WarMenu.ComboBox2("Face Texture",
faceTexturesList, currFtextureIndex, selFtextureIndex, function(currentIndex,
selectedIndex)
currFtextureIndex = currentIndex
selFtextureIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 0,
faceItemsList[currFaceIndex]-1, faceTexturesList[currentIndex]-1, 0)
end) then
]]
elseif WarMenu.ComboBoxSlider("Hair", hairItemsList,
currHairIndex, selHairIndex, function(currentIndex, selectedIndex)
previousHairTexture =
GetNumberOfPedTextureVariations(PlayerPedId(), 2,
GetPedDrawableVariation(PlayerPedId(), 2))
previousHairTextureDisplay =
hairTextureList[currHairTextureIndex]
currHairIndex = currentIndex
selHairIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 2,
hairItemsList[currentIndex]-1, 0, 0)
currentHairTexture =
GetNumberOfPedTextureVariations(PlayerPedId(), 2,
GetPedDrawableVariation(PlayerPedId(), 2))
hairTextureList =
GetHairTextures(GetPedDrawableVariation(PlayerPedId(), 2))
end) then
elseif WarMenu.ComboBox2("Hair Color", hairTextureList,
currHairTextureIndex, selHairTextureIndex, function(currentIndex, selectedIndex)
currHairTextureIndex = currentIndex
selHairTextureIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 2,
hairItemsList[currHairIndex]-1, currentIndex-1, 0)
end) then
elseif WarMenu.ComboBoxSlider("Mask", maskItemsList,
currMaskIndex, selMaskIndex, function(currentIndex, selectedIndex)
currMaskIndex = currentIndex
selMaskIndex = currentIndex
SetPedComponentVariation(PlayerPedId(), 1,
maskItemsList[currentIndex]-1, 0, 0)
end) then
elseif WarMenu.ComboBoxSlider("Hat", hatItemsList,
currHatIndex, selHatIndex, function(currentIndex, selectedIndex)
previousHatTexture =
GetNumberOfPedPropTextureVariations(PlayerPedId(), 0,
GetPedPropIndex(PlayerPedId(), 0)) -- Gets the number of props before the hat index
and the prop updates (previous)
-- I wanted to grab hatTexturesList[currHatTextureIndex]
before the the Prop was updated. This value is the number (index) that is shown on
the Hat Texture ComboBox before it updates
previousHatTextureDisplay =
hatTexturesList[currHatTextureIndex]
end) then
elseif WarMenu.ComboBox2("Hat Texture",
hatTexturesList, currHatTextureIndex, selHatTextureIndex, function(currentIndex,
selectedIndex)
currHatTextureIndex = currentIndex
selHatTextureIndex = currentIndex
SetPedPropIndex(PlayerPedId(), 0,
GetPedPropIndex(PlayerPedId(), 0), currentIndex, 0)
end) then
end
-- MODIFIERS MENU
elseif WarMenu.IsMenuOpened('modifiers') then
if WarMenu.ComboBox("Forcefield Radius", ForcefieldRadiusOps,
currForcefieldRadiusIndex, selForcefieldRadiusIndex, function(currentIndex,
selectedIndex)
currForcefieldRadiusIndex = currentIndex
selForcefieldRadiusIndex = currentIndex
ForcefieldRadius = ForcefieldRadiusOps[currentIndex]
end) then
elseif WarMenu.ComboBox("Noclip Speed", NoclipSpeedOps,
currNoclipSpeedIndex, selNoclipSpeedIndex, function(currentIndex, selectedIndex)
currNoclipSpeedIndex = currentIndex
selNoclipSpeedIndex = currentIndex
NoclipSpeed = NoclipSpeedOps[currNoclipSpeedIndex]
end) then
end
-- COMPACTS SPAWNER
elseif WarMenu.IsMenuOpened('compacts') then
for i = 1, #compacts do
local vehname = GetLabelText(compacts[i])
if vehname == "NULL" then vehname = compacts[i] end -- Avoid
getting NULL (for some reason GetLabelText returns null for some vehs)
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(compacts[i], PlaceSelf, SpawnEngineOn)
end
end
-- SEDANS SPAWNER
elseif WarMenu.IsMenuOpened('sedans') then
for i = 1, #sedans do
local vehname = GetLabelText(sedans[i])
if vehname == "NULL" then vehname = sedans[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(sedans[i], PlaceSelf, SpawnEngineOn)
end
end
-- SUVs SPAWNER
elseif WarMenu.IsMenuOpened('suvs') then
for i = 1, #suvs do
local vehname = GetLabelText(suvs[i])
if vehname == "NULL" then vehname = suvs[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(suvs[i], PlaceSelf, SpawnEngineOn)
end
end
-- COUPES SPAWNER
elseif WarMenu.IsMenuOpened('coupes') then
for i = 1, #coupes do
local vehname = GetLabelText(coupes[i])
if vehname == "NULL" then vehname = coupes[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(coupes[i], PlaceSelf, SpawnEngineOn)
end
end
-- MUSCLE SPAWNER
elseif WarMenu.IsMenuOpened('muscle') then
for i = 1, #muscle do
local vehname = GetLabelText(muscle[i])
if vehname == "NULL" then vehname = muscle[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(muscle[i], PlaceSelf, SpawnEngineOn)
end
end
-- SPORTSCLASSICS SPAWNER
elseif WarMenu.IsMenuOpened('sportsclassics') then
for i = 1, #sportsclassics do
local vehname = GetLabelText(sportsclassics[i])
if vehname == "NULL" then vehname = sportsclassics[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(sportsclassics[i], PlaceSelf, SpawnEngineOn)
end
end
-- SPORTS SPAWNER
elseif WarMenu.IsMenuOpened('sports') then
for i = 1, #sports do
local vehname = GetLabelText(sports[i])
if vehname == "NULL" then vehname = sports[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(sports[i], PlaceSelf, SpawnEngineOn)
end
end
-- SUPER SPAWNER
elseif WarMenu.IsMenuOpened('super') then
for i = 1, #super do
local vehname = GetLabelText(super[i])
if vehname == "NULL" then vehname = super[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(super[i], PlaceSelf, SpawnEngineOn)
end
end
-- MOTORCYCLES SPAWNER
elseif WarMenu.IsMenuOpened('motorcycles') then
for i = 1, #motorcycles do
local vehname = GetLabelText(motorcycles[i])
if vehname == "NULL" then vehname = motorcycles[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(motorcycles[i], PlaceSelf, SpawnEngineOn)
end
end
-- OFFROAD SPAWNER
elseif WarMenu.IsMenuOpened('offroad') then
for i = 1, #offroad do
local vehname = GetLabelText(offroad[i])
if vehname == "NULL" then vehname = offroad[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(offroad[i], PlaceSelf, SpawnEngineOn)
end
end
-- INDUSTRIAL SPAWNER
elseif WarMenu.IsMenuOpened('industrial') then
for i = 1, #industrial do
local vehname = GetLabelText(industrial[i])
if vehname == "NULL" then vehname = industrial[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(industrial[i], PlaceSelf, SpawnEngineOn)
end
end
-- UTILITY SPAWNER
elseif WarMenu.IsMenuOpened('utility') then
for i = 1, #utility do
local vehname = GetLabelText(utility[i])
if vehname == "NULL" then vehname = utility[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(utility[i], PlaceSelf, SpawnEngineOn)
end
end
-- VANS SPAWNER
elseif WarMenu.IsMenuOpened('vans') then
for i = 1, #vans do
local vehname = GetLabelText(vans[i])
if vehname == "NULL" then vehname = vans[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(vans[i], PlaceSelf, SpawnEngineOn)
end
end
-- CYCLES SPAWNER
elseif WarMenu.IsMenuOpened('cycles') then
for i = 1, #cycles do
local vehname = GetLabelText(cycles[i])
if vehname == "NULL" then vehname = cycles[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(cycles[i], PlaceSelf, SpawnEngineOn)
end
end
-- BOATS SPAWNER
elseif WarMenu.IsMenuOpened('boats') then
for i = 1, #boats do
local vehname = GetLabelText(boats[i])
if vehname == "NULL" then vehname = boats[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(boats[i], PlaceSelf, SpawnEngineOn)
end
end
-- HELICOPTERS SPAWNER
elseif WarMenu.IsMenuOpened('helicopters') then
for i = 1, #helicopters do
local vehname = GetLabelText(helicopters[i])
if vehname == "NULL" then vehname = helicopters[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(helicopters[i], PlaceSelf, SpawnEngineOn)
end
end
-- PLANES SPAWNER
elseif WarMenu.IsMenuOpened('planes') then
for i = 1, #planes do
local vehname = GetLabelText(planes[i])
if vehname == "NULL" then vehname = planes[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnPlane(planes[i], PlaceSelf, SpawnInAir)
end
end
-- SERVICE SPAWNER
elseif WarMenu.IsMenuOpened('service') then
for i = 1, #service do
local vehname = GetLabelText(service[i])
if vehname == "NULL" then vehname = service[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(service[i], PlaceSelf, SpawnEngineOn)
end
end
-- COMMERCIAL SPAWNER
elseif WarMenu.IsMenuOpened('commercial') then
for i = 1, #commercial do
local vehname = GetLabelText(commercial[i])
if vehname == "NULL" then vehname = commercial[i] end
local carButton = WarMenu.Button(vehname)
if carButton then
SpawnVeh(commercial[i], PlaceSelf, SpawnEngineOn)
end
end
end
-- PRIMARY CLASSIC
elseif WarMenu.IsMenuOpened('primary_classic') then
for i = 1, #classicColors do
if WarMenu.Button(classicColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, classicColors[i][2], sec)
end
end
-- PRIMARY MATTE
elseif WarMenu.IsMenuOpened('primary_matte') then
for i = 1, #matteColors do
if WarMenu.Button(matteColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, matteColors[i][2], sec)
end
end
-- PRIMARY METAL
elseif WarMenu.IsMenuOpened('primary_metal') then
for i = 1, #metalColors do
if WarMenu.Button(metalColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, metalColors[i][2], sec)
end
end
-- SECONDARY CLASSIC
elseif WarMenu.IsMenuOpened('secondary_classic') then
for i = 1, #classicColors do
if WarMenu.Button(classicColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, prim, classicColors[i][2])
end
end
-- SECONDARY MATTE
elseif WarMenu.IsMenuOpened('secondary_matte') then
for i = 1, #matteColors do
if WarMenu.Button(matteColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, prim, matteColors[i][2])
end
end
-- SECONDARY METAL
elseif WarMenu.IsMenuOpened('secondary_metal') then
for i = 1, #metalColors do
if WarMenu.Button(metalColors[i][1]) then
local veh = GetVehiclePedIsIn(PlayerPedId(), 0)
local prim, sec = GetVehicleColours(veh)
SetVehicleColours(veh, prim, metalColors[i][2])
end
end
end
for k in EnumerateVehicles() do
RequestControlOnce(k)
SetVehicleGravityAmount(k, GravAmount)
end
end) then
elseif WarMenu.CheckBox("Set The World On ~r~Fire", WorldOnFire) then
WorldOnFire = not WorldOnFire
if WorldOnFire then
wofDUI = CreateDui("https://tinyurl.com/y6e2qu9e", 1, 1)
else
DestroyDui(wofDUI)
end
elseif WarMenu.Button("~r~Fuck Up The Map (Irreversible!) [WIP]") then
if not FuckMap then
ShowInfo("~b~Fucking Up Map")
FuckMap = true
else
ShowInfo("~r~Map Already Fucked")
end
end
-- KEYBINDS MENU
elseif WarMenu.IsMenuOpened('keybindings') then
if WarMenu.CheckBox("Menu Keybind:", 0, menuKeybind, menuKeybind)
then
local key = string.upper(GetKeyboardInput("Input New Key
Name (line 1316)"))
if Keys[key] then
menuKeybind = key
ShowInfo("Menu bind has been set to ~g~"..key)
else
ShowInfo("~r~Key "..key.." is not valid!")
end
elseif WarMenu.CheckBox("Noclip Keybind:", 0, noclipKeybind,
noclipKeybind) then
local key = string.upper(GetKeyboardInput("Input New Key
Name (line 1316)"))
if Keys[key] then
noclipKeybind = key
ShowInfo("Noclip bind has been set to ~g~"..key)
else
ShowInfo("~r~Key "..key.." is not valid!")
end
elseif WarMenu.CheckBox("Fix Vehicle Keybind:", 0, fixcarKeybind,
fixcarKeybind) then
local key = string.upper(GetKeyboardInput("Input New Key
Name (line 1316)"))
if Keys[key] then
fixcarKeybind = key
ShowInfo("FixVeh bind has been set to ~g~"..key)
else
ShowInfo("~r~Key "..key.." is not valid!")
end
elseif WarMenu.CheckBox("Heal Self Keybind:", 0,
healplayerKeybind, healplayerKeybind) then
local key = string.upper(GetKeyboardInput("Input New Key
Name (line 1316)"))
if Keys[key] then
healplayerKeybind = key
ShowInfo("Heal Self bind has been set to ~g~"..key)
else
ShowInfo("~r~Key "..key.." is not valid!")
end
end
-- WEB RADIO MENU
elseif WarMenu.IsMenuOpened('webradio') then
if WarMenu.CheckBox("Classical", ClassicalRadio, "Status: Not Playing",
"Status: Playing") then
ClassicalRadio = not ClassicalRadio
if ClassicalRadio then
RadioDUI =
CreateDui("http://cms.stream.publicradio.org/cms.mp3", 1, 1)
ShowInfo("~b~Now Playing...")
else
DestroyDui(RadioDUI)
ShowInfo("~r~Web Radio Stopped!")
end
end
-- ESX OPTIONS
elseif WarMenu.IsMenuOpened('esx') then
if WarMenu.Button("~b~ESX ~w~Restore Hunger") then
TriggerEvent("esx_status:set", "hunger", 1000000)
elseif WarMenu.Button("~b~ESX ~w~Restore Thirst") then
TriggerEvent("esx_status:set", "thirst", 1000000)
elseif WarMenu.Button("~b~ESX ~w~Revive yourself") then
TriggerServerEvent('esx_ambulancejob:revive',
GetPlayerServerId(PlayerId()))
elseif WarMenu.Button("~b~ESX ~w~Revive By ID") then
local serverID = GetKeyboardInput("Enter Player Server ID:")
TriggerServerEvent('esx_ambulancejob:revive', serverID)
end
-- CREDITS
elseif WarMenu.IsMenuOpened('credits') then
for i = 1, #developers do if WarMenu.Button(developers[i]) then end end
-- OPEN MENU
elseif IsDisabledControlJustReleased(0, Keys[menuKeybind]) then
WarMenu.OpenMenu('skid')-- Change keys in config, not here
end
WarMenu.Display()
-- LOOP HANDLING
if Demigod then
if GetEntityHealth(PlayerPedId()) < 200 then
SetEntityHealth(PlayerPedId(), 200)
end
end
if ADemigod then
SetEntityHealth(PlayerPedId(), 189.9)
end
if NeverWanted then
ClearPlayerWantedLevel(PlayerId())
end
if Noclipping then
local isInVehicle = IsPedInAnyVehicle(PlayerPedId(), 0)
local k = nil
local x, y, z = nil
if ExplodingAll then
ExplodeAll(includeself)
end
if Tracking then
local coords = GetEntityCoords(GetPlayerPed(TrackedPlayer))
SetNewWaypoint(coords.x, coords.y)
end
if FlingingPlayer then
local coords = GetEntityCoords(GetPlayerPed(FlingedPlayer))
Citizen.InvokeNative(0xE3AD2BDBAEE269AC, coords.x, coords.y,
coords.z, 4, 1.0, 0, 1, 0.0, 1)
end
if InfStamina then
RestorePlayerStamina(PlayerId(),
GetPlayerSprintStaminaRemaining(PlayerId()))
end
if SuperJump then
SetSuperJumpThisFrame(PlayerId())
end
if Invisibility then
SetEntityVisible(PlayerPedId(), 0, 0)
end
if Forcefield then
DoForceFieldTick(ForcefieldRadius)
end
if CarsDisabled then
local plist = GetActivePlayers()
for i = 1, #plist do
if IsPedInAnyVehicle(GetPlayerPed(plist[i]), true) then
ClearPedTasksImmediately(GetPlayerPed(plist[i]))
end
end
end
if GunsDisabled then
local plist = GetActivePlayers()
for i = 1, #plist do
if IsPedShooting(GetPlayerPed(plist[i])) then
ClearPedTasksImmediately(GetPlayerPed(plist[i]))
end
end
end
if NoisyCars then
for k in EnumerateVehicles() do
SetVehicleAlarmTimeLeft(k, 500)
end
end
if FlyingCars then
for k in EnumerateVehicles() do
RequestControlOnce(k)
ApplyForceToEntity(k, 3, 0.0, 0.0, 500.0, 0.0, 0.0, 0.0, 0, 0, 1,
1, 0, 1)
end
end
if SuperGravity then
for k in EnumerateVehicles() do
RequestControlOnce(k)
SetVehicleGravityAmount(k, GravAmount)
end
end
if WorldOnFire then
local pos = GetEntityCoords(PlayerPedId())
local k = GetRandomVehicleInSphere(pos, 100.0, 0, 0)
if k ~= GetVehiclePedIsIn(PlayerPedId(), 0) then
local targetpos = GetEntityCoords(k)
local x, y, z = table.unpack(targetpos)
local expposx = math.random(math.floor(x - 5.0), math.ceil(x +
5.0)) % x
local expposy = math.random(math.floor(y - 5.0), math.ceil(y +
5.0)) % y
local expposz = math.random(math.floor(z - 0.5), math.ceil(z +
1.5)) % z
AddExplosion(expposx, expposy, expposz, 1, 1.0, 1, 0, 0.0)
AddExplosion(expposx, expposy, expposz, 4, 1.0, 1, 0, 0.0)
end
for v in EnumeratePeds() do
if v ~= PlayerPedId() then
local targetpos = GetEntityCoords(v)
local x, y, z = table.unpack(targetpos)
local expposx = math.random(math.floor(x - 5.0), math.ceil(x +
5.0)) % x
local expposy = math.random(math.floor(y - 5.0), math.ceil(y +
5.0)) % y
local expposz = math.random(math.floor(z), math.ceil(z + 1.5))
% z
AddExplosion(expposx, expposy, expposz, 1, 1.0, 1, 0, 0.0)
AddExplosion(expposx, expposy, expposz, 4, 1.0, 1, 0, 0.0)
end
end
end
if FuckMap then
for i = -4000.0, 8000.0, 3.14159 do
local _, z1 = GetGroundZFor_3dCoord(i, i, 0, 0)
local _, z2 = GetGroundZFor_3dCoord(-i, i, 0, 0)
local _, z3 = GetGroundZFor_3dCoord(i, -i, 0, 0)
CreateObject(GetHashKey("stt_prop_stunt_track_start"), i, i, z1, 0,
1, 1)
CreateObject(GetHashKey("stt_prop_stunt_track_start"), -i, i, z2,
0, 1, 1)
CreateObject(GetHashKey("stt_prop_stunt_track_start"), i, -i, z3,
0, 1, 1)
end
end
if ClearStreets then
SetVehicleDensityMultiplierThisFrame(0.0)
SetRandomVehicleDensityMultiplierThisFrame(0.0)
SetParkedVehicleDensityMultiplierThisFrame(0.0)
SetAmbientVehicleRangeMultiplierThisFrame(0.0)
SetPedDensityMultiplierThisFrame(0.0)
end
if RapidFire then
DoRapidFireTick()
end
if Aimbot then
-- Draw FOV
if DrawFov then
DrawRect(0.25, 0.5, 0.01, 0.515, 255, 80, 80, 100)
DrawRect(0.75, 0.5, 0.01, 0.515, 255, 80, 80, 100)
DrawRect(0.5, 0.25, 0.49, 0.015, 255, 80, 80, 100)
DrawRect(0.5, 0.75, 0.49, 0.015, 255, 80, 80, 100)
end
end
if Crosshair then
ShowHudComponentThisFrame(14)
end
if ShowCoords then
local pos = GetEntityCoords(PlayerPedId())
DrawTxt("~b~X: ~w~" .. round(pos.x, 3), 0.38, 0.03, 0.0, 0.4)
DrawTxt("~b~Y: ~w~" .. round(pos.y, 3), 0.45, 0.03, 0.0, 0.4)
DrawTxt("~b~Z: ~w~" .. round(pos.z, 3), 0.52, 0.03, 0.0, 0.4)
end
if ExplosiveAmmo then
local ret, pos = GetPedLastWeaponImpactCoord(PlayerPedId())
if ret then
AddExplosion(pos.x, pos.y, pos.z, 1, 1.0, 1, 0, 0.1)
end
end
if ForceGun then
local ret, pos = GetPedLastWeaponImpactCoord(PlayerPedId())
if ret then
for k in EnumeratePeds() do
local coords = GetEntityCoords(k)
if k ~= PlayerPedId() and GetDistanceBetweenCoords(pos, coords)
<= 1.0 then
local forward = GetEntityForwardVector(PlayerPedId())
RequestControlOnce(k)
ApplyForce(k, forward * 500)
end
end
for k in EnumerateVehicles() do
local coords = GetEntityCoords(k)
if k ~= GetVehiclePedIsIn(PlayerPedId(), 0) and
GetDistanceBetweenCoords(pos, coords) <= 3.0 then
local forward = GetEntityForwardVector(PlayerPedId())
RequestControlOnce(k)
ApplyForce(k, forward * 500)
end
end
end
end
if Triggerbot then
local hasTarget, target = GetEntityPlayerIsFreeAimingAt(PlayerId())
if hasTarget and IsEntityAPed(target) then
ShootAt(target, "SKEL_HEAD")
end
end
if WarMenu.IsMenuOpened('objectlist') then
for i = 1, #SpawnedObjects do
local x, y, z = table.unpack(GetEntityCoords(SpawnedObjects[i]))
DrawText3D(x, y, z, "OBJECT " .. "[" .. i .. "] " .. "WITH ID " ..
SpawnedObjects[i])
end
end
if NametagsEnabled then
tags_plist = GetActivePlayers()
for i = 1, #tags_plist do
if NetworkIsPlayerTalking(tags_plist[i]) then
SetMpGamerTagVisibility(ptags[i], 4, 1)
else
SetMpGamerTagVisibility(ptags[i], 4, 0)
end
if IsPedInAnyVehicle(GetPlayerPed(tags_plist[i])) and
GetSeatPedIsIn(GetPlayerPed(tags_plist[i])) == 0 then
SetMpGamerTagVisibility(ptags[i], 8, 1)
else
SetMpGamerTagVisibility(ptags[i], 8, 0)
end
end
end
if ANametagsEnabled then
local plist = GetActivePlayers()
table.removekey(plist, PlayerId())
for i = 1, #plist do
local pos = GetEntityCoords(GetPlayerPed(plist[i]))
local distance =
GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), pos)
if distance <= 30 then
if ANametagsNotNeedLOS then
DrawText3D(pos.x, pos.y, pos.z + 1.3, "~b~ID: ~w~" ..
GetPlayerServerId(plist[i]) .. "\n~b~Name: ~w~" .. GetPlayerName(plist[i]))
elseif not ANametagsNotNeedLOS and
HasEntityClearLosToEntity(PlayerPedId(), GetPlayerPed(plist[i]), 17) then
DrawText3D(pos.x, pos.y, pos.z + 1.3, "~b~ID: ~w~" ..
GetPlayerServerId(plist[i]) .. "\n~b~Name: ~w~" .. GetPlayerName(plist[i]))
end
end
end
end
if LinesEnabled then
local plist = GetActivePlayers()
local playerCoords = GetEntityCoords(PlayerPedId())
for i = 1, #plist do
if i == PlayerId() then i = i + 1 end
local targetCoords = GetEntityCoords(GetPlayerPed(plist[i]))
DrawLine(playerCoords, targetCoords, 0, 0, 255, 255)
end
end
if WeatherChanger then
SetWeatherTypePersist(WeatherType)
SetWeatherTypeNowPersist(WeatherType)
SetWeatherTypeNow(WeatherType)
SetOverrideWeather(WeatherType)
end
if Radio then
PortableRadio = true
SetRadioToStationIndex(RadioStation)
elseif not Radio then
PortableRadio = false
end
if PortableRadio then
SetVehicleRadioEnabled(GetVehiclePedIsIn(PlayerPedId(), 0), false)
SetMobilePhoneRadioState(true)
SetMobileRadioEnabledDuringGameplay(true)
HideHudComponentThisFrame(16)
elseif not PortableRadio then
SetVehicleRadioEnabled(GetVehiclePedIsIn(PlayerPedId(), 0), true)
SetMobilePhoneRadioState(false)
SetMobileRadioEnabledDuringGameplay(false)
ShowHudComponentThisFrame(16)
local radioIndex = GetPlayerRadioStationIndex()
if ForceMap then
DisplayRadar(true)
end
if ForceThirdPerson then
SetFollowPedCamViewMode(0)
SetFollowVehicleCamViewMode(0)
end
Wait(0)
end
end)