Describe the bug
If I have a vehicle that has a modelId set to one requested using engineRequestModel, and use resetVehicleAudioSettings() on it with "onClientElementStreamIn" event, the vehicle will have no sounds at all when it streams in.
Steps to reproduce
Heres a client-sided script to reproduce:
local veh = createVehicle(445, 15.080532073975, 22.650451660156, 3.1171875)
setVehicleEngineState(veh, true)
local mod = engineRequestModel("vehicle", 604)
setElementModel(veh, mod)
addEventHandler("onClientElementStreamIn", getRootElement(), function()
if source == veh then
resetVehicleAudioSettings(veh)
iprint("reset")
end
Version
Client: v1.6-release-23952 (Windows 11, 64-bit)
Server: v1.6-release-23312 (Debian 12)
Additional context
No response
Relevant log output
Security Policy
Describe the bug
If I have a vehicle that has a modelId set to one requested using engineRequestModel, and use resetVehicleAudioSettings() on it with "onClientElementStreamIn" event, the vehicle will have no sounds at all when it streams in.
Steps to reproduce
Heres a client-sided script to reproduce:
local veh = createVehicle(445, 15.080532073975, 22.650451660156, 3.1171875)
setVehicleEngineState(veh, true)
local mod = engineRequestModel("vehicle", 604)
setElementModel(veh, mod)
addEventHandler("onClientElementStreamIn", getRootElement(), function()
if source == veh then
resetVehicleAudioSettings(veh)
iprint("reset")
end
Version
Client: v1.6-release-23952 (Windows 11, 64-bit)
Server: v1.6-release-23312 (Debian 12)
Additional context
No response
Relevant log output
Security Policy