What happened?
When attempting to use the native function GetVehicleExhaustBone via Citizen.InvokeNative (since this native is not yet available in the FiveM nativeDB by name), FiveM throws an exception (tested on builds b3407, b3095).
Although there is a backport implementation of this native for game builds prior to b3095, it still results in an exception (tested on build b2944).
Error on the newest build:
script error in native e728f090d538cb18: exception at address FiveM_b3407_GTAProcess.exe+F60768
Expected result
Should return the correct native results
Reproduction steps
Citizen.CreateThread(function()
local ped = PlayerPedId()
local veh = GetVehiclePedIsIn(ped, false)
local successful, boneIndex, invAxis = Citizen.InvokeNative(0xE728F090D538CB18, veh, 0, 0, false) -- GetVehicleExhaustBone
end)
Importancy
Unknown
Area(s)
Natives
Specific version(s)
FiveM b3407, b3095, b2944
Additional information
No response
What happened?
When attempting to use the native function GetVehicleExhaustBone via Citizen.InvokeNative (since this native is not yet available in the FiveM nativeDB by name), FiveM throws an exception (tested on builds b3407, b3095).
Although there is a backport implementation of this native for game builds prior to b3095, it still results in an exception (tested on build b2944).
Error on the newest build:
Expected result
Should return the correct native results
Reproduction steps
Importancy
Unknown
Area(s)
Natives
Specific version(s)
FiveM b3407, b3095, b2944
Additional information
No response