client
SetVehicleMod
FiveM client native documentation with a Lua example.
Summary
Applies a modification (spoiler, exhaust, wheels, etc.) to a vehicle. The core native behind tuner/mod menus and car customization.
Returns
void
Parameters
vehiclenumberThe vehicle handle.modTypenumberThe mod slot (e.g. 0 = spoiler, 11 = engine, 23 = wheels).modIndexnumberThe mod index within that slot.customTiresbooleanWhether to apply custom tires.Example
SetVehicleModKit(veh, 0) -- required first
SetVehicleMod(veh, 11, 3, false) -- max engine
SetVehicleMod(veh, 23, 2, true) -- wheelsCommon pitfalls
- Call SetVehicleModKit(veh, 0) BEFORE applying mods or nothing happens.
- Mod indices vary per vehicle; use GetNumVehicleMods to find valid ranges.
- Networked mods need to sync — apply on the entity owner or via a synced flow.
Related natives
Related guides
FiveM scripts done right
Optimized, dual-framework scripts for QBCore and ESX from Viper Development — escrow protected, delivered instantly to your Cfx portal.
Browse Scripts →