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
getIdentifierHash():number
number
client/models/VehicleMod.ts:21
getIndex():number
setIndex(index):void
• index: number
number
client/models/VehicleMod.ts:25
getIsHswExclusive():boolean
boolean
client/models/VehicleMod.ts:33
getModCount():number
number
client/models/VehicleMod.ts:37
getModifierValue():number
number
client/models/VehicleMod.ts:41
getModType():VehicleMods
client/models/VehicleMod.ts:17
getOwner():Vehicle
client/models/VehicleMod.ts:13
getVariation():boolean
setVariation(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