Skip to content

Vehicle Variants

Client-side
Server-side
Shared

Vehicle variants can be anything from different adverts to additional parts of the model. Related functions: setVehicleVariant, getVehicleVariant and createVehicle.

Adding Variants

Adding variants requires modifying your DFF by adding a part of the model you wish to be a variant and naming it extra1, extra2, extra3, extra4, or extra5 then setting its parent to the chassis_dummy; this tells GTA it has variant information.

Spawning Custom Variants

To spawn custom variants is to implicitly specify which variants you want in createVehicle, or change the variant of an already existing vehicle using setVehicleVariant. Also, any invalid variant will show up as the default model with no variation.

GTA: San Andreas Vehicle Variants List

Vehicle Name ID Variants
Perennial Perennial 404 Cargo Area 0 = Low Cover, 1 = Roof/High Cover, 2 = Roll Bar
Fire Truck Fire Truck 407 Numbers: 0 = 64, 1 = 16, 2 = 47
Trashmaster Trashmaster 408 0 = Some bits of trash sticking out of the back
Pony Pony 413 0 = Sound System in Back
Mule Mule 414 Side Ads: 0 = Toy Corner, 1 = Binco, 2 = Semi, 3 = Shafted Appliances
Cheetah Cheetah 415 Side Mirrors: 0 = Single, Placed High, 1 = Dual, Placed Normally
Ambulance Ambulance 416 Numbers: 0 = 37, 1 = 71
Bobcat Bobcat 422 Bed Items: 0 = Spare Tire, 1 = Sprunk Cans
Mr. Whoopee Mr. Whoopee 423 Rear Sign: 0 = Cherry Popping Good, 1 = Slow Children Ahead
BF Injection BF Injection 424 Body: 0 = Side Panels
Securicar Securicar 428 Side Logo: 0 = Chuff, 1 = Lock&Load
Barracks Barracks 433 Bed Covering: 0 = Opaque Fabric, 1 = Camo Netting
Hotknife Hotknife 434 0 = Partial Engine Cover
Trailer 1 Trailer 1 435 Side Ads: 0 = Cok-o-Pops, 1 = Munky Juice, 2 = Hinterland, 3 = Zip, 4 = RS Haul, 5 = Ranch
Coach Coach 437 Name on Side: 0 = Big O Tours, 1 = Bikini Line
Stallion Stallion 439 Roof: 0 = Hardtop, 1 = Softtop (up), 2 = Softtop (folded)
Rumpo Rumpo 440 Side Ads: 0 = Cok-o-Pops, 1 = Harry Plums, 2 = Dick Goblin's, 3 = Final Build, 4 = Transfender, 5 = Wheel Arch Angels
Romero Romero 442 Coffins: 0 = Brown Style1, 1 = Black Style2, 2 = Brown Style3
Tram Tram 449 0,1,2,3 = (4 defined extras, but I don't know what they are)
Trailer 2 Trailer 2 450 Contents: 0 = Filled with gravel/coal/stone
Reefer Reefer 453 Items in Back: 0 = Boxes of Fish, 1 = Bench
Flatbed Flatbed 455 Numbers: 0 = 64, 1 = 16, 2 = 47
Yankee Yankee 456 Side Ads: 0 = Big Gas, 1 = RS Haul, 2 = Star Balls, 3 = Flower Power
Caddy Caddy 457 Rear Cargo (Driver Side): 0 = Golfbag1, 1 = Satchel1, 2 = Golfbag2, Rear Cargo (Pass Side): 3 = Satchel2, 4 = Golfbag3, 5 = Golfbag4
Berkley's RC Van Berkley's RC Van 459 0 = Boxes of Toys in Back
Patriot Patriot 470 Cargo Area 0 = Low Cover, 1 = Roof/High Cover, 2 = Roll Bar
Coastguard Coastguard 472 Various Items 0 = Items all Over, 1 = Items Grouped in Back, 2 = Items all Over + 2 Oars in Front
ZR-350 ZR-350 477 0 = Rear Spoiler
Walton Walton 478 Items in Bed: 0 = Two Propane Tanks, 1 = Open Crates, 2 = Propane Tank and Barrel
Burrito Burrito 482 Roof Items: 0 = Roof Lights + Spoiler
Camper Camper 483 0 = Open Curtains & Second Bench Seat, 1 = Open Roof Vent, Closed Curtains, Bed in Back, Peace Sign
Marquis Marquis 484 0 = Windshield over Cabin Entrance
Baggage Baggage 485 Rear Cargo Items: 0 = Earmuffs, 1 = Small Case, 2 = Large Case
Benson Benson 499 Side Ads: 0 = Shady Industries, 1 = LSD, 2 = The Uphill Gardener, 3 = Discount Furniture
Mesa Mesa 500 0 = Roof Over Back, 1 = Roll Bar in Back
Hotring Racer 2 Hotring Racer 2 502 Numbers: 0 = 82, 1 = 26, 2 = 65, 3 = 07, 4 = 36, 5 = 60
Hotring Racer 3 Hotring Racer 3 503 Numbers: 0 = 96, 1 = 67, 2 = 73, 3 = 52, 4 = 45, 5 = 14
Bloodring Banger Bloodring Banger 504 Numbers/Roof Color: 0 = 328/White, 1 = 464/Check, 2 = 172/Check, 3 = 100/White, 4 = 284/White, 5 = 505/Check
Super GT Super GT 506 0 = Full Roof
FCR-900 FCR-900 521 Exhausts: 0 = Single Type1, 1 = Dual Type1, 2 = Dual Type2, Fairings (with Windshields): 3 = Half-size, 4 = Full-size
NRG-500 NRG-500 522 Exhausts: 0 = Single Pair1, 1 = Single Pair2, 2 = Dual Pair2 - Fairings (with Windshields): 3 = Smooth, 4 = With Side Cutouts
Slamvan Slamvan 535 Steering Wheel: 0 = Normal, 1 = Chain (Default has none!)
Sadler Sadler 543 Items in Bed: 0 = Two Propane Tanks & Crate, 1 = Two Barrels, 2 = Sprunk Cans, 3 = Open Crates, 4+ = Empty bed
Utility Van Utility Van 552 0 = Cones, Barrel in back + Cone lying on passenger side rail, 1 = Cones, Barrel in back + Cone lying on driver side rail
Windsor Windsor 555 0 = Roof, 1 = No Roof
Monster 2 Monster 2 556 0 = Roof Spoiler, 1 = Roof Lights, 2 = Roll Bar with Lights
Monster 3 Monster 3 557 0 = Couldn't Determine 1 = Roof Lights
Kart Kart 571 Body Panels: 0 = Both Sides, 1 = Steering Column
BF-400 BF-400 581 Exhausts: 0 = Single Type1, 1 = Single Type2, 2 = Dual Type3 - Fairings (with Windshields): 3 = Half-size, 4 = Full-size
Tug Tug 583 Case in Back: 0 = Red Case, 1 = Green Case
Launch Launch 595 Roofs: 0 = Over passenger section, 1 = Over driver section
Picador Picador 600 Items in Bed: 0 = Planks, 1 = Sprunk Cans
S.W.A.T. S.W.A.T. 601 Number: 0 = 1, 1 = 9, 2 = 6, 3 = 7
Damaged Sadler Damaged Sadler 605 Items in Bed: 0 = Two Propane Tanks & Crate, 1 = Two Barrels, 2 = Sprunk Cans, 3 = Open Crates, 4+ = Empty bed
Bagboxb Bagboxb 607 Contents: 0,1,2 = Various distributions of loose baggage

Above table serialized in Lua:

local vehicleVariantsByModel = {
[404] = {0, 1, 2},
[407] = {0, 1, 2},
[408] = {0},
[413] = {0},
[414] = {0, 1, 2, 3},
[415] = {0, 1},
[416] = {0, 1},
[422] = {0, 1},
[423] = {0, 1},
[424] = {0},
[428] = {0, 1},
[433] = {0, 1},
[434] = {0},
[435] = {0, 1, 2, 3, 4, 5},
[437] = {0, 1},
[439] = {0, 1, 2},
[440] = {0, 1, 2, 3, 4, 5},
[442] = {0, 1, 2},
[453] = {0, 1},
[455] = {0, 1, 2},
[456] = {0, 1, 2, 3},
[457] = {0, 1, 2, 3, 4, 5},
[459] = {0},
[470] = {0, 1, 2},
[472] = {0, 1, 2},
[478] = {0, 1, 2},
[482] = {0},
[483] = {0, 1},
[484] = {0},
[485] = {0, 1, 2},
[499] = {0, 1, 2, 3},
[500] = {0, 1},
[502] = {0, 1, 2, 3, 4, 5},
[503] = {0, 1, 2, 3, 4, 5},
[504] = {0, 1, 2, 3, 4, 5},
[506] = {0},
[521] = {0, 1, 2, 3, 4},
[522] = {0, 1, 2, 3, 4},
[523] = {0},
[535] = {0, 1},
[543] = {0, 1, 2, 3, 4},
[552] = {0, 1},
[556] = {0, 1, 2},
[557] = {0, 1},
[571] = {0, 1},
[581] = {0, 1, 2, 3, 4},
[583] = {0, 1},
[595] = {0, 1},
[600] = {0, 1},
[601] = {0, 1, 2, 3},
[605] = {0, 1, 2, 3, 4},
[607] = {0, 1, 2},
[555] = {0, 1},
[477] = {0},
}

See Also

Reference