Open
Description
Describe the bug
If you use getVehicleSirens
or getVehicleSirenParams
with a Police vehicle or any other vehicle that has sirens by default, you will get the default tables (getVehicleSirens
will return {}
and getVehicleSirenParams
will return { Flags = { ["360"] = false, DoLOSCheck = false, Silent = false, UseRandomiser = false }, SirenCount = 0, SirenType = 0 }
).
They should return the values of the default sirens. My use case is to use these coordinates to create new dynamic lights.
Steps to reproduce
- Get inside of a Police car
- /start runcode
- /run local veh = getPedOccupiedVehicle(me) iprint(getVehicleSirens(veh))
This will return{}
- /run local veh = getPedOccupiedVehicle(me) iprint(getVehicleSirenParams(veh))
This will return the other long table with default values.
Same clientside with /crun
Version
Client: Multi Theft Auto v1.6-release-23088
Server: MTA:SA Server v1.6-release-22953
Additional context
No response
Relevant log output
Security Policy
- I have read and understood the Security Policy and this issue is not security related.