Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
1,271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.65 KB | None | 0 0
  1. -----------------------------------------------
  2. | Ham Mafia Lua Executor |
  3. | v4.0.1 |
  4. |------------------COMMANDS-------------------|
  5. | /file - execute file |
  6. | /exec - execute code |
  7. | /menu - run ham menu - press V to open |
  8. | /lynxmenu - run lynx10.1 - TAB to open |
  9. | |
  10. | /tp x y z - teleport to coords |
  11. | /reviveme - attempt self revive |
  12. | |
  13. | /dumper on/off - toggle dumper |
  14. | /blocker off - turn off Anti-Cheat blocker |
  15. | /blocktoko - block TokoVOIP from loading |
  16. | |
  17. | /deobfmode - toggle deobfuscation mode |
  18. | /encFile - encrypt your own lua file |
  19. | /runenc - run any encrypted ham file |
  20. | |
  21. | /clear - clear executor console |
  22. | /quit - exit the cheat and FiveM |
  23. |------------------USER INFO------------------|
  24. | User: szlahetny209
  25. -----------------------------------------------
  26. /dumper on
  27. [Script Dumper] - Turned on
  28. [Anti-Cheat Blocker] - Blocked file modelblacklist/carblacklist.lua
  29. System nie może odnaleźć określonej ścieżki.
  30. The command line is too long.
  31. [Anti-Cheat Blocker] - Blocked file Airport/client.lua
  32. [Anti-Cheat Blocker] - Blocked AntiCheese - anticheese/ac_c.lua
  33. The command line is too long.
  34. [Anti-Cheat Blocker] - Blocked file ESX = nilunk permissions = nilunk Citizen.CreateThread(function()unk while ESX == nil dounk TriggerEvent('esxgetSharedObject', function(obj) ESX = obj end)unk Wait(100)unk endunk end)unk
  35. unk Citizen.CreateThread(function()unk while permissions == nil dounk
  36. TriggerServerEvent("madz_acgetIsAllowed")unk Wait(1000)unk endunk
  37. end)unk unk RegisterNetEvent('madz_acsendIsAllowed')unk AddEventHandler('madz_acsendIsAllowed', function(perms)unk permissions = permsunk end)unk unk AntiCheat = trueunk PedStatus = 0unk whitelisted = falseunk whiteCheck = trueunk unk -- Whitelista --unk Citizen.CreateThread(function()unk while whiteCheck == true dounk Wait( 2000 )unk if ESX.IsPlayerLoaded(PlayerId) thenunk
  38. TriggerServerEvent('AnticheatWhitelist', GetPlayerServerId(PlayerId()))unk
  39. whiteCheck = falseunk endunk endunk end)unkunk
  40. RegisterNetEvent('AnticheatWLReturn')unk AddEventHandler('AnticheatWLReturn', function(wlstatus)unk
  41. whitelisted = wlstatusunk end)unk unk --RegisterNetEvent('madz_ackozackiepojazdy')unk --AddEventHandler('madz_ackozackiepojazdy', function(modelese)unk --DeleteEntity(modelese)unk --end)unk unk carblacklist = {unk 970385471, --Hydraunk
  42. 562680400, -- APCunk 788747387, --buzzardunk -32236122, -- Halftrackunk -1435527158, -- Khanjaliunk 782665360, -- Rhinounk -1435527158, -- Khanjaliunk -1881846085, -- Trailersmall2unk 3606777648, --Dominator4unk 2919906639, --Dominator5unk 3001042683, --Dominator6unk -827162039, --Dune4unk -312295511, --Dune5unk 2044532910, --Menacerunk
  43. -2096818938, --Technicalunk 1180875963, --Technical2unk 1356124575, --Technical3unk -2118308144, --Avengerunk 408970549, --Avenger2unk -1281684762, --Lazerunk -749299473, --Mogulunk 1565978651, --Molotokunk 1036591958, --Nokotaunk -1386191424, --Pyrounk
  44. -1700874274, --Starlingunk 1692272545, --StrikeForceunk 159274291, -- Ardentunk 1483171323, --Deluxounk 886810209, --Strombergunk 682434785, --BoxVille5unk 368211810, --CargoPlaneunk -1532220198,unk -1480717784,unk -150975354,unk 4143991942,unk -613725916,unk 3681241380,unk -307958377,unk 3987008919,unk 1058115860,unk 744705981,unk 1949211328,unk 493885713,unk -1545838613,unk 2023032009,unk -151407678,unk 1190724306,unk 1586593447,unk 1198227023,unk 1300460100,unk 945430527,unk }unk unk --print(GetHashKey(0x64430650))unk -- Blacklista aut --unk Citizen.CreateThread(function()unk while true dounk Wait(1000)unk if (AntiCheat == true and whitelisted == false and whiteCheck == false)thenunk
  45. if IsPedInAnyVehicle(GetPlayerPed(-1)) thenunk v = GetVehiclePedIsIn(playerPed, false)unk endunk playerPed = GetPlayerPed(-1)unk unk if playerPed and v thenunk if GetPedInVehicleSeat(v, -1) == playerPed thenunk
  46. checkCar(GetVehiclePedIsIn(playerPed, false))unk endunk endunk endunk endunk end)unk
  47. unk -- Blacklista broni --unk Citizen.CreateThread(function()unk while true dounk Wait(1000)unk if (AntiCheat == true and whitelisted == false and whiteCheck == false)thenunk for _,theWeapon in ipairs(Config.WeaponBL) dounk Wait(1)unk if HasPedGotWeapon(PlayerPedId(),GetHashKey(theWeapon),false) == 1 thenunk RemoveAllPedWeapons(PlayerPedId(),false)unk endunk endunk
  48. endunk endunk end)unk unk -- Blacklsita object├│w --unk
  49. Citizen.CreateThread(function()unk while true dounk Wait(500)unk
  50. local ped = PlayerPedId()unk local handle, object = FindFirstObject()unk
  51. local finished = falseunk repeatunk Wait(1)unk if (AntiCheat == true and whitelisted == false and whiteCheck == false)thenunk
  52. if IsEntityAttached(object) and DoesEntityExist(object) thenunk unk
  53. if GetEntityModel(object) == GetHashKey("prop_acc_guitar_01") thenunk
  54. DeleteObjects(object, true)unk endunk endunk
  55. for i=1,#Config.ObjectsBL dounk if GetEntityModel(object) == GetHashKey(Config.ObjectsBL[i]) thenunk DeleteObjects(object, false)unk unk endunk endunk
  56. endunk finished, object = FindNextObject(handle)unk unk
  57. until not finishedunk EndFindObject(handle)unk endunk end)unk
  58. unk function DeleteObjects(object, detach)unk if (AntiCheat == true)thenunk
  59. if DoesEntityExist(object) thenunk NetworkRequestControlOfEntity(object)unk while not NetworkHasControlOfEntity(object) dounk
  60. Wait(1)unk endunk if detach thenunk DetachEntity(object, 0, false)unk endunk unk SetEntityCollision(object, false, false)unk
  61. SetEntityAlpha(object, 0.0, true)unk SetEntityAsMissionEntity(object, true, true)unk SetEntityAsNoLongerNeeded(object)unk DeleteEntity(object)unk unk endunk endunk endunk unk
  62. Citizen.CreateThread(function()unk while (true) dounk Wait(1000)unk
  63. KillAllPeds()unk DeleteEntity(ped)unk endunk end)unk unk local entityEnumerator = {unk __gc = function(enum)unk
  64. if enum.destructor and enum.handle thenunk enum.destructor(enum.handle)unk
  65. endunk enum.destructor = nilunk enum.handle = nilunk endunk }unk unk local function EnumerateEntities(initFunc, moveFunc, disposeFunc)unk return coroutine.wrap(function()unk local iter, id = initFunc()unk if not id or id == 0 thenunk disposeFunc(iter)unk returnunk endunk unk
  66. local enum = {handle = iter, destructor = disposeFunc}unk setmetatable(enum, entityEnumerator)unk unk local next = trueunk repeatunk coroutine.yield(id)unk next, id = moveFunc(iter)unk until not nextunk unk enum.destructor, enum.handle = nil, nilunk disposeFunc(iter)unk end)unk endunk unk function EnumerateObjects()unk return EnumerateEntities(FindFirstObject, FindNextObject, EndFindObject)unk endunk unk function EnumeratePeds()unk
  67. return EnumerateEntities(FindFirstPed, FindNextPed, EndFindPed)unk endunk unk function EnumerateVehicles()unk return EnumerateEntities(FindFirstVehicle, FindNextVehicle, EndFindVehicle)unk
  68. endunk unk function EnumeratePickups()unk return EnumerateEntities(FindFirstPickup, FindNextPickup, EndFindPickup)unk endunk unk --Citizen.CreateThread(function()unk
  69. --while true dounk --Wait(3000)unk --if (AntiCheat == true)thenunk --thePeds = EnumeratePeds()unk --PedStatus = 0unk --for ped in thePeds dounk --PedStatus = PedStatus + 1unk --if PedStatus >= Config.pedThreshold thenunk
  70. --if not (IsPedAPlayer(ped))thenunk
  71. --DeleteEntity(ped)unk --RemoveAllPedWeapons(ped, true)unk
  72. --endunk --endunk
  73. --endunk --endunk --endunk --end)unk unk function KillAllPeds()unk local pedweaponunk local pedidunk for ped in EnumeratePeds() do unk if DoesEntityExist(ped) thenunk pedid = GetEntityModel(ped)unk pedweapon = GetSelectedPedWeapon(ped)unk if (AntiCheat == true)thenunk
  74. if pedweapon == -1312131151 or not IsPedHuman(ped) then unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk elseunk switch = function (choice)unk
  75. choice = choice and tonumber(choice) or choiceunk unk
  76. case =unk {unk
  77. [451459928] = function ( )unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
  78. [1684083350] = function ( )unk
  79. ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
  80. [451459928] = function ( )unk
  81. ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
  82. [1096929346] = function ( )unk
  83. ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
  84. [880829941] = function ( )unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
  85. [-1404353274] = function ( )unk
  86. ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
  87. [2109968527] = function ( )unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk
  88. end,unk unk default = function ( )unk end,unk
  89. }unk unk if case[choice] thenunk
  90. case[choice]()unk elseunk
  91. case["default"]()unk endunk
  92. unk endunk
  93. switch(pedid) unk endunk endunk endunk endunk endunk unk function checkCar(car)unk if car thenunk carModel = GetEntityModel(car)unk carName = GetDisplayNameFromVehicleModel(carModel)unk if (AntiCheat == true)thenunk if isCarBlacklisted(carModel) thenunk _DeleteEntity(car)unk endunk
  94. endunk endunk endunk unk function fDeleteVehicle(vehicle_f)unk Citizen.CreateThread(function()unk local vehicle = vehicle_funk
  95. SetEntityAsMissionEntity(vehicle, false, true)unk DeleteVehicle(vehicle)unk SetEntityAsMissionEntity(vehicle, true, true)unk Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(vehicle))unk SetEntityAsMissionEntity(vehicle,false, false)unk DeleteVehicle(vehicle)unk
  96. DeleteEntity(vehicle)unk SetVehicleHandlingField(vehicle,nil,nil,0)unk end)unk endunk unk --Citizen.CreateThread(function()unk --while not load dounk --Wait(1000)unk --endunk unk --while true dounk -- Citizen.Wait(1000)unk -- local ped = PlayerPedId()unk -- local veh_in = GetVehiclePedIsIn(ped,false)unk -- if DoesEntityExist(veh_in) thenunk -- local model = GetEntityModel(veh_in)unk -- SetEntityVisible(veh_in, true)unk -- if table.contains(carblacklist, tonumber(model)) thenunk -- fDeleteVehicle(veh_in)unk -- endunk -- endunk -- endunk-- end)unk unk
  97. function isCarBlacklisted(model)unk for _, blacklistedCar in pairs(Config.CarsBL) dounk
  98. if model == GetHashKey(blacklistedCar) thenunk return trueunk
  99. endunk endunk unk return falseunk endunk unk function _DeleteEntity(entity)unk Citizen.InvokeNative(0xAE3CBE5BF394C9C9, Citizen.PointerValueIntInitialized(entity))unk endunk unk Citizen.CreateThread(function()unk while true dounk Wait(1000)unk unk if GetEntityHealth(GetPlayerPed(-1)) <= 1 thenunk -- chlop spi a pedy nie respiounk SetVehicleDensityMultiplierThisFrame(0.0)unk elseunk --SetVehicleDensityMultiplierThisFrame(0.01)unk endunk unk if not GetInteriorFromEntity(PlayerPedId()) == 0 thenunk -- chlop w interio a pedy nie respiounk SetVehicleDensityMultiplierThisFrame(0.0)unk elseunk SetVehicleDensityMultiplierThisFrame(0.01)unk
  100. endunk unk unk endunk end)unk unk weaponblacklist = {unk "WEAPON_GUSENBERG",unk "WEAPON_ASSAULTRIFLE",unk "WEAPON_CARBINERIFLE",unk "WEAPON_KNIFE",unk "WEAPON_DOUBLEACTION",unk
  101. --"WEAPON_NIGHTSTICK",unk "WEAPON_HAMMER",unk "WEAPON_GOLFCLUB",unk
  102. "WEAPON_CROWBAR",unk --"WEAPON_PISTOL50",,unk "WEAPON_ASSAULTSMG",unk
  103. "WEAPON_ADVANCEDRIFLE",unk "WEAPON_MG",unk "WEAPON_COMBATMG",unk
  104. "WEAPON_SAWNOFFSHOTGUN",unk "WEAPON_ASSAULTSHOTGUN",unk "WEAPON_BULLPUPSHOTGUN",unk "WEAPON_HEAVYSNIPER",unk "WEAPON_REMOTESNIPER",unk
  105. "WEAPON_GRENADELAUNCHER",unk "WEAPON_GRENADELAUNCHER_SMOKE",unk "WEAPON_RPG",unk "WEAPON_PASSENGER_ROCKET",unk "WEAPON_AIRSTRIKE_ROCKET",unk "WEAPON_STINGER",unk "WEAPON_MINIGUN",unk "WEAPON_GRENADE",unk --"WEAPON_STICKYBOMB",unk "WEAPON_BZGAS",unk --"WEAPON_MOLOTOV",unk --"WEAPON_FIREEXTINGUISHER",unk "WEAPON_DIGISCANNER",unk --"WEAPON_BRIEFCASE",unk --"WEAPON_BRIEFCASE_02",unk --"WEAPON_BALL",unk "WEAPON_FLARE",unk "WEAPON_VEHICLE_ROCKET",unk "WEAPON_BARBED_WIRE",unk "WEAPON_DROWNING",unk "WEAPON_DROWNING_IN_VEHICLE",unk "WEAPON_BLEEDING",unk
  106. "WEAPON_ELECTRIC_FENCE",unk "WEAPON_EXPLOSION",unk "WEAPON_FALL",unk
  107. "WEAPON_EXHAUSTION",unk "WEAPON_HIT_BY_WATER_CANNON",unk "WEAPON_RAMMED_BY_CAR",unk "WEAPON_RUN_OVER_BY_CAR",unk "WEAPON_HELI_CRASH",unk "WEAPON_FIRE",unk "WEAPON_BOTTLE",unk "WEAPON_SPECIALCARBINE",unk
  108. "WEAPON_HEAVYPISTOL",unk "WEAPON_BULLPUPRIFLE",unk "WEAPON_DAGGER",unk
  109. "WEAPON_VINTAGEPISTOL",unk "WEAPON_FIREWORK",unk "WEAPON_MUSKET",unk
  110. "WEAPON_HEAVYSHOTGUN",unk "WEAPON_MARKSMANRIFLE",unk "WEAPON_HOMINGLAUNCHER",unk "WEAPON_PROXMINE",unk --"WEAPON_SNOWBALL",unk "WEAPON_FLAREGUN",unk "WEAPON_GARBAGEBAG",unk "WEAPON_COMBATPDW",unk "WEAPON_MARKSMANPISTOL",unk "WEAPON_RAILGUN",unk "WEAPON_MACHINEPISTOL",unk
  111. "WEAPON_AIR_DEFENCE_GUN",unk "WEAPON_REVOLVER",unk "WEAPON_DBSHOTGUN",unk
  112. "WEAPON_COMPACTRIFLE",unk "WEAPON_AUTOSHOTGUN",unk "WEAPON_BATTLEAXE",unk
  113. "WEAPON_COMPACTLAUNCHER",unk "WEAPON_MINISMG",unk "WEAPON_PIPEBOMB",unk
  114. "WEAPON_POOLCUE",unk --"WEAPON_WRENCH",unk --"VEHICLE_WEAPON_ROTORS",unk
  115. --"VEHICLE_WEAPON_TANK",unk --"VEHICLE_WEAPON_SPACE_ROCKET",unk --"VEHICLE_WEAPON_PLANE_ROCKET",unk --"VEHICLE_WEAPON_PLAYER_LAZER",unk --"VEHICLE_WEAPON_PLAYER_LASER",unk --"VEHICLE_WEAPON_PLAYER_BULLET",unk --"VEHICLE_WEAPON_PLAYER_BUZZARD",unk --"VEHICLE_WEAPON_PLAYER_HUNTER",unk --"VEHICLE_WEAPON_ENEMY_LASER",unk --"VEHICLE_WEAPON_WATER_CANNON",unk --"VEHICLE_WEAPON_TURRET_INSURGENT",unk
  116. --"VEHICLE_WEAPON_TURRET_TECHNICAL",unk --"VEHICLE_WEAPON_NOSE_TURRET_VALKYRIE",unk
  117. --"VEHICLE_WEAPON_PLAYER_SAVAGE",unk --"VEHICLE_WEAPON_TURRET_LIMO",unk --"VEHICLE_WEAPON_CANNON_BLAZER",unk --"VEHICLE_WEAPON_TURRET_BOXVILLE",unk --"VEHICLE_WEAPON_RUINER_BULLET",unk --"PICKUP_WEAPON_BULLPUPSHOTGUN",unk --"PICKUP_WEAPON_ASSAULTSMG",unk --"PICKUP_VEHICLE_WEAPON_ASSAULTSMG",unk --"PICKUP_WEAPON_PISTOL50",unk --"PICKUP_VEHICLE_WEAPON_PISTOL50",unk --"PICKUP_AMMO_BULLET_MP",unk
  118. --"PICKUP_AMMO_MISSILE_MP",unk --"PICKUP_AMMO_GRENADELAUNCHER_MP",unk --"PICKUP_WEAPON_ASSAULTRIFLE",unk --"PICKUP_WEAPON_CARBINERIFLE",unk --"PICKUP_WEAPON_ADVANCEDRIFLE",unk --"PICKUP_WEAPON_MG",unk --"PICKUP_WEAPON_COMBATMG",unk
  119. --"PICKUP_WEAPON_SNIPERRIFLE",unk --"PICKUP_WEAPON_HEAVYSNIPER",unk --"PICKUP_WEAPON_MICROSMG",unk --"PICKUP_WEAPON_SMG",unk --"PICKUP_ARMOUR_STANDARD",unk --"PICKUP_WEAPON_RPG",unk --"PICKUP_WEAPON_MINIGUN",unk --"PICKUP_HEALTH_STANDARD",unk --"PICKUP_WEAPON_PUMPSHOTGUN",unk --"PICKUP_WEAPON_SAWNOFFSHOTGUN",unk --"PICKUP_WEAPON_ASSAULTSHOTGUN",unk --"PICKUP_WEAPON_GRENADE",unk --"PICKUP_WEAPON_MOLOTOV",unk --"PICKUP_WEAPON_SMOKEGRENADE",unk
  120. --"PICKUP_WEAPON_STICKYBOMB",unk --"PICKUP_WEAPON_COMBATPISTOL",unk --"PICKUP_WEAPON_APPISTOL",unk --"PICKUP_WEAPON_GRENADELAUNCHER",unk --"PICKUP_MONEY_VARIABLE",unk --"PICKUP_WEAPON_STUNGUN",unk --"PICKUP_WEAPON_FIREEXTINGUISHER",unk
  121. --"PICKUP_WEAPON_PETROLCAN",unk --"PICKUP_WEAPON_KNIFE",unk --"PICKUP_WEAPON_NIGHTSTICK",unk --"PICKUP_WEAPON_HAMMER",unk --"PICKUP_WEAPON_BAT",unk
  122. --"PICKUP_WEAPON_GolfClub",unk --"PICKUP_WEAPON_CROWBAR",unk --"PICKUP_HANDCUFF_KEY",unk --"PICKUP_CUSTOM_SCRIPT",unk --"PICKUP_CAMERA",unk --"PICKUP_PORTABLE_PACKAGE",unk --"PICKUP_PORTABLE_CRATE_UNFIXED",unk --"PICKUP_PORTABLE_CRATE_UNFIXED_INCAR",unk --"PICKUP_MONEY_CASE",unk --"PICKUP_MONEY_WALLET",unk
  123. --"PICKUP_MONEY_PURSE",unk --"PICKUP_MONEY_DEP_BAG",unk --"PICKUP_MONEY_MED_BAG",unk --"PICKUP_MONEY_PAPER_BAG",unk --"PICKUP_MONEY_SECURITY_CASE",unk
  124. --"PICKUP_VEHICLE_WEAPON_COMBATPISTOL",unk --"PICKUP_VEHICLE_WEAPON_APPISTOL",unk
  125. --"PICKUP_VEHICLE_WEAPON_PISTOL",unk --"PICKUP_VEHICLE_WEAPON_GRENADE",unk --"PICKUP_VEHICLE_WEAPON_MOLOTOV",unk --"PICKUP_VEHICLE_WEAPON_SMOKEGRENADE",unk --"PICKUP_VEHICLE_WEAPON_STICKYBOMB",unk --"PICKUP_VEHICLE_HEALTH_STANDARD",unk --"PICKUP_VEHICLE_ARMOUR_STANDARD",unk --"PICKUP_VEHICLE_WEAPON_MICROSMG",unk --"PICKUP_VEHICLE_WEAPON_SMG",unk --"PICKUP_VEHICLE_WEAPON_SAWNOFF",unk --"PICKUP_VEHICLE_CUSTOM_SCRIPT",unk --"PICKUP_VEHICLE_MONEY_VARIABLE",unk --"PICKUP_SUBMARINE",unk
  126. --"PICKUP_HEALTH_SNACK",unk --"PICKUP_PARACHUTE",unk --"PICKUP_AMMO_SMG",unk --"PICKUP_AMMO_RIFLE",unk --"PICKUP_AMMO_MG",unk --"PICKUP_AMMO_SHOTGUN",unk --"PICKUP_AMMO_SNIPER",unk --"PICKUP_AMMO_GRENADELAUNCHER",unk --"PICKUP_AMMO_RPG",unk --"PICKUP_AMMO_MINIGUN",unk --"PICKUP_WEAPON_BULLPUPRIFLE",unk --"PICKUP_WEAPON_BOTTLE",unk --"PICKUP_WEAPON_SNSPISTOL",unk --"PICKUP_WEAPON_GUSENBERG",unk --"PICKUP_WEAPON_HEAVYPISTOL",unk
  127. --"PICKUP_WEAPON_SPECIALCARBINE",unk --"PICKUP_WEAPON_DAGGER",unk --"PICKUP_WEAPON_VINTAGEPISTOL",unk --"PICKUP_WEAPON_FIREWORK",unk --"PICKUP_WEAPON_MUSKET",unk
  128. --"PICKUP_AMMO_FIREWORK",unk --"PICKUP_AMMO_FIREWORK_MP",unk --"PICKUP_PORTABLE_DLC_VEHICLE_PACKAGE",unk --"PICKUP_WEAPON_HEAVYSHOTGUN",unk --"PICKUP_WEAPON_MARKSMANRIFLE",unk ---"PICKUP_GANG_ATTACK_MONEY",unk --"PICKUP_WEAPON_PROXMINE",unk --"PICKUP_WEAPON_HOMINGLAUNCHER",unk ---"PICKUP_AMMO_HOMINGLAUNCHER",unk
  129. --"PICKUP_WEAPON_FLAREGUN",unk --"PICKUP_AMMO_FLAREGUN",unk --"PICKUP_WEAPON_COMBATPDW",unk --"PICKUP_WEAPON_KNUCKLE",unk --"PICKUP_WEAPON_MARKSMANPISTOL"unk
  130. }unk unk function isWeaponBlacklisted(model)unk for _, blacklistedWeapon in pairs(weaponblacklist) dounk if model == GetHashKey(blacklistedWeapon) or model == 2982836145 or model == 1746263880 thenunk return trueunk
  131. endunk endunk unk return falseunk endunk unk -- Restrykcja bot├│w --unk Citizen.CreateThread(function()unk while true dounk local handle, ped = FindFirstPed()unk local finished = falseunk local foundpeds = {}unk
  132. unk repeatunk if not IsEntityDead(ped) and not IsPedAPlayer(ped) thenunk table.insert(foundpeds, ped)unk
  133. endunk finished, ped = FindNextPed(handle)unk until not finishedunk EndFindPed(handle)unk unk for a = 1, #foundpeds dounk local selectedWeapon = GetSelectedPedWeapon(foundpeds[a])unk for b = 1, #weaponblacklist dounk if selectedWeapon == GetHashKey(weaponblacklist[b]) thenunk DeleteEntity(foundpeds[a], 0.0)unk endunk endunk
  134. endunk unk Wait(1000)unk end unk end)unk unk -- ANTI-SPECTATE --unk Citizen.CreateThread(function()unk while true dounk Wait(3000)unk if NetworkIsInSpectatorMode() and not permissions thenunk TriggerServerEvent("madz_acnotAllowed")unk
  135. endunk endunk end)unk unk -- USUWANIE BEZ DECORÓW --unk local function doVehicles(f,...)unk local handle,veh = FindFirstVehicle()unk if handle ~= -1 thenunk repeatunk f(veh,...) -- calls f with the found vehicle and other passed arguments.unk status,veh = FindNextVehicle(handle) -- update vehicle and make sure there is another vehicle.unk until not statusunk
  136. EndFindVehicle(handle) -- close the find handle.unk endunk endunk unk
  137. local function doObjects(r,...)unk local handle1,object1 = FindFirstObject()unk if handle1 ~= -1 thenunk repeatunk r(object1,...) -- calls f with the found vehicle and other passed arguments.unk status1,object1 = FindNextObject(handle1) -- update vehicle and make sure there is another vehicle.unk until not status1unk
  138. EndFindObject(handle1) -- close the find handle.unk endunk endunk unk Citizen.CreateThread(function()unk DecorRegister("GamemodeCar",3)unk
  139. DecorRegisterLock()unk while true dounk Citizen.Wait(200)unk
  140. doVehicles(function(vehicle)unk if DecorGetInt(vehicle,"GamemodeCar") ~= 4158 thenunk DeleteVehicle(vehicle)unk endunk
  141. end) unk endunk end)unk unk Citizen.CreateThread(function()unk DecorRegister("GamemodeCar",3)unk DecorRegisterLock()unk
  142. while true dounk Citizen.Wait(200)unk doObjects(function(object)unk if DecorGetInt(object,"GamemodeCar") ~= 4158 thenunk
  143. DeleteEntity(object)unk endunk end) unk
  144. endunk end)unk unklocal Damage = {}unk--local weapons = ESX.GetWeaponList()unkunkCitizen.CreateThread(function()unk local ped = GetPlayerPed(-1)unk while true dounk if Damage ~= nil thenunk for k,v in pairs(Damage) dounk if GetHashKey(v.name) == GetSelectedPedWeapon(ped) thenunk if v.dmg ~= GetWeaponDamage(GetSelectedPedWeapon(ped)) thenunk TriggerServerEvent("madz_acgundmg", v.dmg, GetWeaponDamage(GetSelectedPedWeapon(ped)), v.name)unk endunk endunk endunk endunk Citizen.Wait(2000)unk endunkend)unkunk--Citizen.CreateThread(function()unk --for i=1, #weapons, 1 dounk --local kurwa = GetWeaponDamage(weapons[i].name)unk --table.insert(Damage, {name = weapons[i].name ,dmg = kurwa}) unk --endunk--end)unkunkCitizen.CreateThread(function()unk local ped = GetPlayerPed(-1)unk while true dounk if IsPedInAnyVehicle(ped,true) thenunk local veh = GetVehiclePedIsIn(ped, false)unk SetEntityInvincible(veh,false)unk SetEntityVisible(veh, true)unk Citizen.CreateThread(function()unk SetVehicleEngineTorqueMultiplier(veh,1.0)unk SetVehicleEnginePowerMultiplier(veh,1.0)unk end)unk endunk SetPlayerTargetingMode(0)unk SetPlayerLockonRangeOverride(PlayerId(),0)unk Citizen.Wait(1)unk endunkend)unkunkCitizen.CreateThread(function()unk while true dounk local years, months, days, hours, minutes, seconds = Citizen.InvokeNative(0x50C7A99057A69748, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt())unk tim =minutes*60+secondsunk Wait(15000)unk local years, months, days, hours, minutes, seconds = Citizen.InvokeNative(0x50C7A99057A69748, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt())unk if ((minutes*60+seconds)-tim) < 11 and ((minutes*60+seconds)-tim) > 0 thenunk TriggerServerEvent("madz_acimspeed",15/((minutes*60+seconds)-tim))unk endunk endunkend)unk
  145. The command line is too long.
  146. The command line is too long.
  147. The command line is too long.
  148. System nie może odnaleźć określonej ścieżki.
  149. Error occurred while processing: C:/memes/dumps/PLVictalisRPWLOFFdiscordggkfcFdz/local Keys = {unk [ESC] = 322, [F1] = 288, [F2] = 289, [F3] = 170, [F5] = 166, [F6] = 167, [F7] = 168, [F8] = 169, [F9] = 56, [F10] = 57,unk [~] = 243, [1] = 157, [2] = 158, [3] = 160, [4] = 164, [5] = 165, [6] = 159, [7] = 161, [8] = 162, [9] = 163, [-] = 84, [.
  150. System nie może odnaleźć określonej ścieżki.
  151. Error occurred while processing: ] = 83, [BACKSPACE] = 177,unk [TAB] = 37, [Q] = 44, [W] = 32, [E] = 38, [R] = 45, [T] = 245, [Y] = 246, [U] = 303, [P] = 199, [[] = 39, []] = 40, [ENTER] = 18,unk [CAPS] = 137, [A] = 34, [S] = 8, [D] = 9, [F] = 23, [G] = 47, [H] = 74, [K] = 311, [L] = 182,unk [LEFTSHIFT] = 21, [Z] = 20, [X] = 73, [C] = 26, [V] = 0, [B] = 29, [N] = 249, [M] = 244, [.
  152. System nie może odnaleźć określonej ścieżki.
  153. Error occurred while processing: ] = 82, [.] = 81,unk [LEFTCTRL] = 36, [LEFTALT] = 19, [SPACE] = 22, [RIGHTCTRL] = 70,unk [HOME] = 213, [PAGEUP] = 10, [PAGEDOWN] = 11, [DELETE] = 178,unk [LEFT] = 174, [RIGHT] = 175, [TOP] = 27, [DOWN] = 173,unk [NENTER] = 201, [N4] = 108, [N5] = 60, [N6] = 107, [N+] = 96, [N-] = 97, [N7] = 117, [N8] = 61, [N9] = 118unk}unkunklocal PoliceGUI = falseunklocal PlayerData = {}unklocal CurrentTask = {}unkunkESX = nilunkCitizen.CreateThread(function()unk while ESX == nil dounk TriggerEvent('esxgetSharedObject', function(obj) ESX = obj end)unk Citizen.Wait(0)unk endunk unk Citizen.Wait(5000)unk PlayerData = ESX.GetPlayerData()unkend)unkunkRegisterNetEvent('esxplayerLoaded')unkAddEventHandler('esxplayerLoaded', function(xPlayer)unk PlayerData = xPlayerunkend)unkunkRegisterNetEvent('esxsetJob')unkAddEventHandler('esxsetJob', function(job)unk PlayerData.job = jobunkend)unkunkCitizen.CreateThread(function() unk while true dounk
  154. Citizen.Wait(1)unk if PlayerData.job ~= nil and (PlayerData.job.name == 'police' or PlayerData.job.name == 'offpolice') thenunk if IsControlJustPressed(0, Keys[DELETE]) thenunk if PlayerData.job.name == 'police' thenunk if not PoliceGUI thenunk
  155. TriggerEvent('esx_animationsplay', tablet)unk SetNuiFocus(true, true)unk SendNUIMessage({type = 'open'})unk
  156. PoliceGUI = trueunk endunk elseunk
  157. ESX.ShowNotification(~r~Nie.
  158. A subdirectory or file jesteĹ› already exists.
  159. Error occurred while processing: jesteĹ›.
  160. A subdirectory or file na already exists.
  161. Error occurred while processing: na.
  162. Nie można utworzyć katalogu lub pliku.
  163. Error occurred while processing: służbie!)unk endunk endunkunk
  164. if IsControlJustReleased(0, Keys['E']) and CurrentTask.Busy thenunk ESX.ShowNotification('Unieważniłeś/aś zajęcie')unk ESX.ClearTimeout(CurrentTask.Task)unk ClearPedTasks(PlayerPedId())unk unk CurrentTask.Busy = falseunk
  165. endunk endunk endunkend)unkunkRegisterNUICallback('NUIFocusOff', function()unk TriggerEvent('esx_animationsstop')unk SetNuiFocus(false, false)unk SendNUIMessage({type = 'close'})unk PoliceGUI = falseunkend)unkunkRegisterNUICallback('mandat', function(data, cb)unk local sender = GetPlayerServerId(player)unk local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()unk if closestPlayer ~= -1 and closestDistance <= 3.0 thenunk
  166. MandatPlayer(GetPlayerServerId(closestPlayer), data.mandatamount, data.mandatreason)unk ESX.ShowNotification('~p~Wpłacono ' data.mandatamount .
  167. System nie może odnaleźć określonej ścieżki.
  168. The command line is too long.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement