a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Client / VehicleWheel
Represents a wheel of a vehicle and provides methods to interact with its state.
new VehicleWheel(
_owner
,_index
):VehicleWheel
• _owner: Vehicle
• _index: number
client/models/VehicleWheel.ts:7
get
Health():number
set
Health(value
):void
• value: number
number
client/models/VehicleWheel.ts:28
get
Index():number
set
Index(index
):void
• index: number
number
client/models/VehicleWheel.ts:16
get
Owner():Vehicle
client/models/VehicleWheel.ts:12
get
WearMultiplier():number
number
client/models/VehicleWheel.ts:36
burst():
void
Causes the vehicle tyre to burst for the vehicle associated with the owner.
This method utilizes SetVehicleTyreBurst
to simulate a tyre burst effect.
The tyre index and bursting properties are specified in the parameters of the method.
void
No return value.
client/models/VehicleWheel.ts:58
exists():
boolean
boolean
client/models/VehicleWheel.ts:24
fix():
void
Repairs a specific vehicle tire associated with the vehicle owner. This method ensures that the tire at the provided index of the owner’s vehicle is fixed.
void
Does not return any value.
client/models/VehicleWheel.ts:68
isBurstable(
completely
):boolean
Determines if the vehicle’s tire is burst.
• completely: boolean
Flag indicating if the check should consider complete burst.
boolean