[Release] Vehicle Clean Up (UPDATED v2)

removing vehicles “works”, see my recent post here.

A fix for this that doesnt require modification of the natives.lua, is calling the function by its hash.

instead of

DeleteVehicle(vehicleID)

use

Citizen.InvokeNative(0xEA386986E786A54F, Citizen.PointerValueIntInitialized(vehicleID))
1 Like