Skip to content

Instantly share code, notes, and snippets.

View TanguyOrtegat's full-sized avatar
🏠
Working from home

JagerBom TanguyOrtegat

🏠
Working from home
View GitHub Profile
local setGear = GetHashKey('SET_VEHICLE_CURRENT_GEAR') & 0xFFFFFFFF
local function SetVehicleCurrentGear(veh, gear)
Citizen.InvokeNative(setGear, veh, gear)
end
local nextGear = GetHashKey('SET_VEHICLE_NEXT_GEAR') & 0xFFFFFFFF
local function SetVehicleNextGear(veh, gear)
Citizen.InvokeNative(nextGear, veh, gear)
end