In this part it is encrypted
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1
L0_1 = {}
grapplers = L0_1
L0_1 = {}
L0_1.install = "install"
L0_1.deploy = "deploy"
L0_1.remove = "remove"
L0_1.reset = "reset"
grapplerActions = L0_1
L0_1 = {}
L0_1.installed = "installed"
L0_1.deployed = "deployed"
L0_1.used = "used"
L0_1.inactive = "inactive"
grapplerModes = L0_1
L0_1 = {}
L0_1.wheel_lf = 0
L0_1.wheel_rf = 1
L0_1.wheel_lm = 2
L0_1.wheel_rm = 3
L0_1.wheel_lr = 4
L0_1.wheel_rr = 5
tyreBurstIndex = L0_1
L0_1 = GetConvar
L1_1 = "EKey2"
L2_1 = ""
L0_1 = L0_1(L1_1, L2_1)
L1_1 = grapplerCommand
L1_1 = L1_1.enabled
if L1_1 then
L1_1 = TriggerEvent
L2_1 = "chat:addSuggestion"
L3_1 = "/"
L4_1 = grapplerCommand
L4_1 = L4_1.commandName
L3_1 = L3_1 .. L4_1
L4_1 = translations
L4_1 = L4_1.grapplerCommandHelp
L5_1 = {}
L6_1 = {}
L7_1 = translations
L7_1 = L7_1.grapplerCommandParameterOne
L6_1.name = L7_1
L7_1 = translations
L7_1 = L7_1.grapplerCommandParameterOneHelp
L6_1.help = L7_1
L5_1[1] = L6_1
L1_1(L2_1, L3_1, L4_1, L5_1)
end
L1_1 = Citizen
L1_1 = L1_1.CreateThread
function L2_1()
local L0_2, L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2
L0_2 = Wait
L1_2 = 2500
L0_2(L1_2)
L0_2 = TriggerServerEvent
L1_2 = "Server:requestGrapplerTable"
L0_2(L1_2)
while true do
L0_2 = PlayerPedId
L0_2 = L0_2()
L1_2 = GetVehiclePedIsIn
L2_2 = L0_2
L3_2 = false
L1_2 = L1_2(L2_2, L3_2)
if nil ~= L1_2 and 0 ~= L1_2 then
L2_2 = GetPedInVehicleSeat
L3_2 = L1_2
L4_2 = -1
L2_2 = L2_2(L3_2, L4_2)
L3_2 = VehToNet
L4_2 = L1_2
L3_2 = L3_2(L4_2)
L4_2 = grapplers
L4_2 = L4_2[L3_2]
if nil ~= L4_2 and L2_2 == L0_2 then
L4_2 = grapplers
L4_2 = L4_2[L3_2]
L4_2 = L4_2.mode
L5_2 = grapplerModes
L5_2 = L5_2.installed
if L4_2 == L5_2 then
L4_2 = IsControlPressed
L5_2 = deployGrapplerKey
L5_2 = L5_2[1]
L6_2 = deployGrapplerKey
L6_2 = L6_2[2]
L4_2 = L4_2(L5_2, L6_2)
if L4_2 then
L4_2 = deployGrappler
L4_2()
L4_2 = Wait
L5_2 = 3000
L4_2(L5_2)
end
end
L4_2 = grapplers
L4_2 = L4_2[L3_2]
L4_2 = L4_2.mode
L5_2 = grapplerModes
L5_2 = L5_2.deployed
if L4_2 == L5_2 then
L4_2 = DoesEntityExist
L5_2 = grapplers
L5_2 = L5_2[L3_2]
L5_2 = L5_2.props
L5_2 = L5_2[2]
L4_2 = L4_2(L5_2)
if L4_2 then
L4_2 = GetEntityCoords
L5_2 = grapplers
L5_2 = L5_2[L3_2]
L5_2 = L5_2.props
L5_2 = L5_2[2]
L4_2 = L4_2(L5_2)
L5_2 = raycastDeploy
L6_2 = L1_2
L7_2 = L4_2
L5_2 = L5_2(L6_2, L7_2)
if nil ~= L5_2 and 0 ~= L5_2 then
L6_2 = pairs
L7_2 = wheelBones
L6_2, L7_2, L8_2, L9_2 = L6_2(L7_2)
for L10_2, L11_2 in L6_2, L7_2, L8_2, L9_2 do
L12_2 = GetEntityBoneIndexByName
L13_2 = L5_2
L14_2 = L10_2
L12_2 = L12_2(L13_2, L14_2)
if -1 ~= L12_2 then
L13_2 = GetWorldPositionOfEntityBone
L14_2 = L5_2
L15_2 = L12_2
L13_2 = L13_2(L14_2, L15_2)
L14_2 = L4_2 - L13_2
L14_2 =
#L14_2
L15_2 = VehToNet
L16_2 = L5_2
L15_2 = L15_2(L16_2)
L16_2 = main
L16_2 = L16_2.radiusToAttachToVehicle
if L14_2 < L16_2 then
L16_2 = GetEntityModel
L17_2 = L1_2
L16_2 = L16_2(L17_2)
L17_2 = TriggerServerEvent
L18_2 = "Server:newGrapplerLog"
L19_2 = L0_1
L20_2 = translations
L20_2 = L20_2.usedGrappler
L21_2 = translations
L21_2 = L21_2.vehicle