Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------------
- | Ham Mafia Lua Executor |
- | v4.0.1 |
- |------------------COMMANDS-------------------|
- | /file - execute file |
- | /exec - execute code |
- | /menu - run ham menu - press V to open |
- | /lynxmenu - run lynx10.1 - TAB to open |
- | |
- | /tp x y z - teleport to coords |
- | /reviveme - attempt self revive |
- | |
- | /dumper on/off - toggle dumper |
- | /blocker off - turn off Anti-Cheat blocker |
- | /blocktoko - block TokoVOIP from loading |
- | |
- | /deobfmode - toggle deobfuscation mode |
- | /encFile - encrypt your own lua file |
- | /runenc - run any encrypted ham file |
- | |
- | /clear - clear executor console |
- | /quit - exit the cheat and FiveM |
- |------------------USER INFO------------------|
- | User: szlahetny209
- -----------------------------------------------
- /dumper on
- [Script Dumper] - Turned on
- [Anti-Cheat Blocker] - Blocked file modelblacklist/carblacklist.lua
- System nie może odnaleźć określonej ścieżki.
- The command line is too long.
- [Anti-Cheat Blocker] - Blocked file Airport/client.lua
- [Anti-Cheat Blocker] - Blocked AntiCheese - anticheese/ac_c.lua
- The command line is too long.
- [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
- unk Citizen.CreateThread(function()unk while permissions == nil dounk
- TriggerServerEvent("madz_acgetIsAllowed")unk Wait(1000)unk endunk
- 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
- TriggerServerEvent('AnticheatWhitelist', GetPlayerServerId(PlayerId()))unk
- whiteCheck = falseunk endunk endunk end)unkunk
- RegisterNetEvent('AnticheatWLReturn')unk AddEventHandler('AnticheatWLReturn', function(wlstatus)unk
- 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
- 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
- -2096818938, --Technicalunk 1180875963, --Technical2unk 1356124575, --Technical3unk -2118308144, --Avengerunk 408970549, --Avenger2unk -1281684762, --Lazerunk -749299473, --Mogulunk 1565978651, --Molotokunk 1036591958, --Nokotaunk -1386191424, --Pyrounk
- -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
- 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
- checkCar(GetVehiclePedIsIn(playerPed, false))unk endunk endunk endunk endunk end)unk
- 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
- endunk endunk end)unk unk -- Blacklsita object├│w --unk
- Citizen.CreateThread(function()unk while true dounk Wait(500)unk
- local ped = PlayerPedId()unk local handle, object = FindFirstObject()unk
- local finished = falseunk repeatunk Wait(1)unk if (AntiCheat == true and whitelisted == false and whiteCheck == false)thenunk
- if IsEntityAttached(object) and DoesEntityExist(object) thenunk unk
- if GetEntityModel(object) == GetHashKey("prop_acc_guitar_01") thenunk
- DeleteObjects(object, true)unk endunk endunk
- for i=1,#Config.ObjectsBL dounk if GetEntityModel(object) == GetHashKey(Config.ObjectsBL[i]) thenunk DeleteObjects(object, false)unk unk endunk endunk
- endunk finished, object = FindNextObject(handle)unk unk
- until not finishedunk EndFindObject(handle)unk endunk end)unk
- unk function DeleteObjects(object, detach)unk if (AntiCheat == true)thenunk
- if DoesEntityExist(object) thenunk NetworkRequestControlOfEntity(object)unk while not NetworkHasControlOfEntity(object) dounk
- Wait(1)unk endunk if detach thenunk DetachEntity(object, 0, false)unk endunk unk SetEntityCollision(object, false, false)unk
- SetEntityAlpha(object, 0.0, true)unk SetEntityAsMissionEntity(object, true, true)unk SetEntityAsNoLongerNeeded(object)unk DeleteEntity(object)unk unk endunk endunk endunk unk
- Citizen.CreateThread(function()unk while (true) dounk Wait(1000)unk
- KillAllPeds()unk DeleteEntity(ped)unk endunk end)unk unk local entityEnumerator = {unk __gc = function(enum)unk
- if enum.destructor and enum.handle thenunk enum.destructor(enum.handle)unk
- 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
- 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
- return EnumerateEntities(FindFirstPed, FindNextPed, EndFindPed)unk endunk unk function EnumerateVehicles()unk return EnumerateEntities(FindFirstVehicle, FindNextVehicle, EndFindVehicle)unk
- endunk unk function EnumeratePickups()unk return EnumerateEntities(FindFirstPickup, FindNextPickup, EndFindPickup)unk endunk unk --Citizen.CreateThread(function()unk
- --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
- --if not (IsPedAPlayer(ped))thenunk
- --DeleteEntity(ped)unk --RemoveAllPedWeapons(ped, true)unk
- --endunk --endunk
- --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
- if pedweapon == -1312131151 or not IsPedHuman(ped) then unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk elseunk switch = function (choice)unk
- choice = choice and tonumber(choice) or choiceunk unk
- case =unk {unk
- [451459928] = function ( )unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
- [1684083350] = function ( )unk
- ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
- [451459928] = function ( )unk
- ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
- [1096929346] = function ( )unk
- ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
- [880829941] = function ( )unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
- [-1404353274] = function ( )unk
- ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk end,unk unk
- [2109968527] = function ( )unk ApplyDamageToPed(ped, 1000, false)unk DeleteEntity(ped)unk
- end,unk unk default = function ( )unk end,unk
- }unk unk if case[choice] thenunk
- case[choice]()unk elseunk
- case["default"]()unk endunk
- unk endunk
- 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
- endunk endunk endunk unk function fDeleteVehicle(vehicle_f)unk Citizen.CreateThread(function()unk local vehicle = vehicle_funk
- 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
- 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
- function isCarBlacklisted(model)unk for _, blacklistedCar in pairs(Config.CarsBL) dounk
- if model == GetHashKey(blacklistedCar) thenunk return trueunk
- 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
- endunk unk unk endunk end)unk unk weaponblacklist = {unk "WEAPON_GUSENBERG",unk "WEAPON_ASSAULTRIFLE",unk "WEAPON_CARBINERIFLE",unk "WEAPON_KNIFE",unk "WEAPON_DOUBLEACTION",unk
- --"WEAPON_NIGHTSTICK",unk "WEAPON_HAMMER",unk "WEAPON_GOLFCLUB",unk
- "WEAPON_CROWBAR",unk --"WEAPON_PISTOL50",,unk "WEAPON_ASSAULTSMG",unk
- "WEAPON_ADVANCEDRIFLE",unk "WEAPON_MG",unk "WEAPON_COMBATMG",unk
- "WEAPON_SAWNOFFSHOTGUN",unk "WEAPON_ASSAULTSHOTGUN",unk "WEAPON_BULLPUPSHOTGUN",unk "WEAPON_HEAVYSNIPER",unk "WEAPON_REMOTESNIPER",unk
- "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
- "WEAPON_ELECTRIC_FENCE",unk "WEAPON_EXPLOSION",unk "WEAPON_FALL",unk
- "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
- "WEAPON_HEAVYPISTOL",unk "WEAPON_BULLPUPRIFLE",unk "WEAPON_DAGGER",unk
- "WEAPON_VINTAGEPISTOL",unk "WEAPON_FIREWORK",unk "WEAPON_MUSKET",unk
- "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
- "WEAPON_AIR_DEFENCE_GUN",unk "WEAPON_REVOLVER",unk "WEAPON_DBSHOTGUN",unk
- "WEAPON_COMPACTRIFLE",unk "WEAPON_AUTOSHOTGUN",unk "WEAPON_BATTLEAXE",unk
- "WEAPON_COMPACTLAUNCHER",unk "WEAPON_MINISMG",unk "WEAPON_PIPEBOMB",unk
- "WEAPON_POOLCUE",unk --"WEAPON_WRENCH",unk --"VEHICLE_WEAPON_ROTORS",unk
- --"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
- --"VEHICLE_WEAPON_TURRET_TECHNICAL",unk --"VEHICLE_WEAPON_NOSE_TURRET_VALKYRIE",unk
- --"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
- --"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
- --"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
- --"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
- --"PICKUP_WEAPON_PETROLCAN",unk --"PICKUP_WEAPON_KNIFE",unk --"PICKUP_WEAPON_NIGHTSTICK",unk --"PICKUP_WEAPON_HAMMER",unk --"PICKUP_WEAPON_BAT",unk
- --"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
- --"PICKUP_MONEY_PURSE",unk --"PICKUP_MONEY_DEP_BAG",unk --"PICKUP_MONEY_MED_BAG",unk --"PICKUP_MONEY_PAPER_BAG",unk --"PICKUP_MONEY_SECURITY_CASE",unk
- --"PICKUP_VEHICLE_WEAPON_COMBATPISTOL",unk --"PICKUP_VEHICLE_WEAPON_APPISTOL",unk
- --"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
- --"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
- --"PICKUP_WEAPON_SPECIALCARBINE",unk --"PICKUP_WEAPON_DAGGER",unk --"PICKUP_WEAPON_VINTAGEPISTOL",unk --"PICKUP_WEAPON_FIREWORK",unk --"PICKUP_WEAPON_MUSKET",unk
- --"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
- --"PICKUP_WEAPON_FLAREGUN",unk --"PICKUP_AMMO_FLAREGUN",unk --"PICKUP_WEAPON_COMBATPDW",unk --"PICKUP_WEAPON_KNUCKLE",unk --"PICKUP_WEAPON_MARKSMANPISTOL"unk
- }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
- 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
- unk repeatunk if not IsEntityDead(ped) and not IsPedAPlayer(ped) thenunk table.insert(foundpeds, ped)unk
- 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
- 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
- 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
- EndFindVehicle(handle) -- close the find handle.unk endunk endunk unk
- 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
- EndFindObject(handle1) -- close the find handle.unk endunk endunk unk Citizen.CreateThread(function()unk DecorRegister("GamemodeCar",3)unk
- DecorRegisterLock()unk while true dounk Citizen.Wait(200)unk
- doVehicles(function(vehicle)unk if DecorGetInt(vehicle,"GamemodeCar") ~= 4158 thenunk DeleteVehicle(vehicle)unk endunk
- end) unk endunk end)unk unk Citizen.CreateThread(function()unk DecorRegister("GamemodeCar",3)unk DecorRegisterLock()unk
- while true dounk Citizen.Wait(200)unk doObjects(function(object)unk if DecorGetInt(object,"GamemodeCar") ~= 4158 thenunk
- DeleteEntity(object)unk endunk end) unk
- 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
- The command line is too long.
- The command line is too long.
- The command line is too long.
- System nie może odnaleźć określonej ścieżki.
- 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, [.
- System nie może odnaleźć określonej ścieżki.
- 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, [.
- System nie może odnaleźć określonej ścieżki.
- 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
- 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
- TriggerEvent('esx_animationsplay', tablet)unk SetNuiFocus(true, true)unk SendNUIMessage({type = 'open'})unk
- PoliceGUI = trueunk endunk elseunk
- ESX.ShowNotification(~r~Nie.
- A subdirectory or file jesteĹ› already exists.
- Error occurred while processing: jesteĹ›.
- A subdirectory or file na already exists.
- Error occurred while processing: na.
- Nie można utworzyć katalogu lub pliku.
- Error occurred while processing: służbie!)unk endunk endunkunk
- 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
- 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
- MandatPlayer(GetPlayerServerId(closestPlayer), data.mandatamount, data.mandatreason)unk ESX.ShowNotification('~p~Wpłacono ' data.mandatamount .
- System nie może odnaleźć określonej ścieżki.
- The command line is too long.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement