setVehicleTyresCanBurst
Client-side
Sets and persists GTA's native tyre-burst policy independently from ordinary body damage.
Syntax
bool setVehicleTyresCanBurst(vehicle theVehicle, bool canBurst)GTA task mapping
NATIVE GTA BEHAVIOR
No CTask is created 053F SCM equivalent: SET_CAN_BURST_CAR_TYRES
This does not create a CTask. It changes GTA's tyre-burst flag without making the rest of the vehicle invulnerable.
Arguments
theVehiclevehicleVehicle whose tyre policy should change.
canBurstboolWhether native tyre damage may burst its tyres.
Returns
true when the policy was accepted; false for an invalid vehicle.
Ownership and lifecycle
Door-lock, tyre-burst, physical-proof, and load-collision policies live on the MTA vehicle, apply immediately when its GTA instance is streamed, and are reapplied after local native recreation. They are client-local, last-writer-wins policies rather than resource-owned leases.
Important behavior
- The policy survives stream-out and native vehicle recreation on this client.
Where this comes from
SOURCECLuaVehicleDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaVehicleDefs.cpp INTRODUCED / EXTENDEDd2ca1c38eRead the commit and why the change was made TEST RESOURCE tagging-up-turf test-resources/tagging-up-turf
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native story vehicle state works →