HighLeaks
Help

OKOK Vehicle Control

honzinatorrcz honzinatorrcz Started 3 replies 757 views
#1
https://mega.nz/folder/y54WgIwC#MSkLKJdiPGyxFiAqn4g05w
#1
hi, put this script in .rar or .zip to download.
#2


local L0_1, L1_1, L2_1

L0_1 = RegisterNetEvent

L1_1 = "okokVehicleControl:LockVehicle"

function L2_1(A0_2, A1_2, A2_2, A3_2)

local L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2

L4_2 = source

L5_2 = PlayerHasKey

L6_2 = L4_2

L7_2 = A3_2

L5_2 = L5_2(L6_2, L7_2)

if L5_2 then

L5_2 = NetworkGetEntityFromNetworkId

L6_2 = A0_2

L5_2 = L5_2(L6_2)

L6_2 = tostring

L7_2 = GetConvar

L8_2 = "onesync"

L7_2, L8_2, L9_2, L10_2 = L7_2(L8_2)

L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)

if "on" ~= L6_2 then

L6_2 = tostring

L7_2 = GetConvar

L8_2 = "onesync"

L7_2, L8_2, L9_2, L10_2 = L7_2(L8_2)

L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)

if "true" ~= L6_2 then

goto lbl_29

end

end

L6_2 = GetVehicleDoorLockStatus

L7_2 = L5_2

L6_2 = L6_2(L7_2)

A1_2 = L6_2

::lbl_29::

L6_2 = LockVehicle

L7_2 = L5_2

L8_2 = A1_2

L9_2 = L4_2

L10_2 = A2_2

L6_2(L7_2, L8_2, L9_2, L10_2)

L6_2 = Wait

L7_2 = 1

L6_2(L7_2)

L6_2 = TriggerClientEvent

L7_2 = "okokVehicleControl:UpdateUI"

L8_2 = -1

L9_2 = A0_2

L6_2(L7_2, L8_2, L9_2)

end

end

L0_1(L1_1, L2_1)

L0_1 = RegisterNetEvent

L1_1 = "okokVehicleControl:WindowAction"

function L2_1(A0_2, A1_2)

local L2_2, L3_2, L4_2, L5_2, L6_2

L2_2 = TriggerClientEvent

L3_2 = "okokVehicleControl:WindowAction"

L4_2 = -1

L5_2 = A0_2

L6_2 = A1_2

L2_2(L3_2, L4_2, L5_2, L6_2)

end

L0_1(L1_1, L2_1)

function L0_1(A0_2, A1_2, A2_2, A3_2)

local L4_2, L5_2, L6_2, L7_2, L8_2

L4_2 = tostring

L5_2 = GetConvar

L6_2 = "onesync"

L5_2, L6_2, L7_2, L8_2 = L5_2(L6_2)

L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)

L4_2 = not L4_2

if "on" ~= L4_2 then

L4_2 = tostring

L5_2 = GetConvar

L6_2 = "onesync"

L5_2, L6_2, L7_2, L8_2 = L5_2(L6_2)

L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)

if "true" ~= L4_2 then

goto lbl_54

end

end

if A1_2 1 then

L4_2 = TriggerClientEvent

L5_2 = "okokVehicleControl:LockVehicle"

L6_2 = -1

L7_2 = A2_2

L8_2 = 1

L4_2(L5_2, L6_2, L7_2, L8_2)

L4_2 = TriggerClientEvent

L5_2 = "okokVehicleControl:PlayAnim"

L6_2 = source

L4_2(L5_2, L6_2)

L4_2 = TriggerClientEvent

L5_2 = "okokVehicleControl:PlayAudio"

L6_2 = -1

L7_2 = A3_2

L8_2 = "unlock"

L4_2(L5_2, L6_2, L7_2, L8_2)

goto lbl_87

::lbl_54::

if A1_2 1 then

L4_2 = SetVehicleDoorsLocked

L5_2 = A0_2

L6_2 = 1

L4_2(L5_2, L6_2)

L4_2 = TriggerClientEvent

L5_2 = "okokVehicleControl:PlayAudio"

L6_2 = -1

L7_2 = A3_2

L8_2 = "unlock"

L4_2(L5_2, L6_2, L7_2, L8_2)

L4_2 = TriggerClientEvent

L5_2 = "okokVehicleControl:PlayAnim"

L6_2 = source

L4_2(L5_2, L6_2)

end

end

::lbl_87::

end

LockVehicle = L0_1



#3




wooomanizer,

wrote:



hi, put this script in .rar or .zip to download.




updated