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 / VehicleMod
A class representing vehicle mod.
new VehicleMod(
owner
,modType
):VehicleMod
• owner: Vehicle
• modType: VehicleMods
get
IdentifierHash():number
number
client/models/VehicleMod.ts:21
get
Index():number
set
Index(index
):void
• index: number
number
client/models/VehicleMod.ts:25
get
IsHswExclusive():boolean
boolean
client/models/VehicleMod.ts:33
get
ModCount():number
number
client/models/VehicleMod.ts:37
get
ModifierValue():number
number
client/models/VehicleMod.ts:41
get
ModType():VehicleMods
client/models/VehicleMod.ts:17
get
Owner():Vehicle
client/models/VehicleMod.ts:13
get
Variation():boolean
set
Variation(value
):void
• value: boolean
boolean
client/models/VehicleMod.ts:45
preload():
void
Preloads a vehicle mod for the given owner’s handle, modification type, and index.
void
client/models/VehicleMod.ts:58
remove():
void
Removes the vehicle mod from the owner’s vehicle based on the specified modification type.
void