Vehicle IDs: Difference between revisions
Jump to navigation
Jump to search
(Correct vehicle name list) |
|||
(27 intermediate revisions by 7 users not shown) | |||
Line 3: | Line 3: | ||
====Lua table of all the valid vehicle IDs listed on this page==== | ====Lua table of all the valid vehicle IDs listed on this page==== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua">vehicleIds = {400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, | ||
416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, | |||
434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, | |||
452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, | |||
470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, | |||
488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, | |||
506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, | |||
524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, | |||
542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, | |||
560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, | |||
578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, | |||
596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611 | |||
}</syntaxhighlight> | |||
====Lua table of all vehicle names==== | |||
<syntaxhighlight lang="lua"> | |||
-- (when indexing just do a <vehicle model id you want the name of> - 399 to get the name) | |||
vehicleNames = {"Landstalker", "Bravura", "Buffalo", "Linerunner", "Perennial", "Sentinel", "Dumper", "Fire Truck", "Trashmaster", "Stretch", "Manana", | |||
"Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam", "Esperanto", "Taxi", "Washington", "Bobcat", | |||
"Mr. Whoopee", "BF Injection", "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife", | |||
"Trailer 1", "Previon", "Coach", "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo", | |||
"Seasparrow", "Pizzaboy", "Tram", "Trailer 2", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", | |||
"Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic", "Sanchez", "Sparrow", "Patriot", | |||
"Quadbike", "Coastguard", "Dinghy", "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX", "Burrito", "Camper", "Marquis", | |||
"Baggage", "Dozer", "Maverick", "News Chopper", "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring Racer", "Sandking", | |||
"Blista Compact", "Police Maverick", "Boxville", "Benson", "Mesa", "RC Goblin", "Hotring Racer 3", "Hotring Racer 2", "Bloodring Banger", | |||
"Rancher Lure", "Super GT", "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stuntplane", "Tanker", "Roadtrain", "Nebula", | |||
"Majestic", "Buccaneer", "Shamal", "Hydra", "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Towtruck", "Fortune", "Cadrona", "FBI Truck", | |||
"Willard", "Forklift", "Tractor", "Combine Harvester", "Feltzer", "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent", | |||
"Bullet", "Clover", "Sadler", "Fire Truck Ladder", "Hustler", "Intruder", "Primo", "Cargobob", "Tampa", "Sunrise", "Merit", "Utility Van", | |||
"Nevada", "Yosemite", "Windsor", "Monster 2", "Monster 3", "Uranus", "Jester", "Sultan", "Stratum", "Elegy", "Raindance", "RC Tiger", "Flash", | |||
"Tahoma", "Savanna", "Bandito", "Freight Train Flatbed", "Streak Train Trailer", "Kart", "Mower", "Dune", "Sweeper", "Broadway", "Tornado", | |||
"AT-400", "DFT-30", "Huntley", "Stafford", "BF-400", "Newsvan", "Tug", "Trailer (Tanker Commando)", "Emperor", "Wayfarer", "Euros", "Hotdog", | |||
"Club", "Box Freight", "Trailer 3", "Andromada", "Dodo", "RC Cam", "Launch", "Police LS", "Police", "Police SF", "Police LV", "Police Ranger", | |||
"Ranger", "Picador", "S.W.A.T.", "Alpha", "Phoenix", "Glendale Damaged", "Sadler", "Sadler Damaged", "Baggage Trailer (covered)", | |||
"Baggage Trailer (Uncovered)", "Trailer (Stairs)", "Boxville Mission", "Farm Trailer", "Street Clean Trailer" | |||
}</syntaxhighlight> | }</syntaxhighlight> | ||
====Lua table of vehicles that are not lockable==== | ====Lua table of vehicles that are not lockable==== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua">nonLockableVehicles = { | ||
594, 606, 607, 611, 584, 608, 435, 450, 591, 539, 441, 464, 501, 465, 564, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 581, 509, 481, | 594, 606, 607, 611, 584, 608, 435, 450, 591, 539, 441, 464, 501, 465, 564, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 581, 509, 481, | ||
462, 521, 463, 510, 522, 461, 448, 468, 586, 425, 520 | 462, 521, 463, 510, 522, 461, 448, 468, 586, 425, 520 | ||
Line 26: | Line 54: | ||
}</syntaxhighlight> | }</syntaxhighlight> | ||
====Lua table of vehicles that support up to three different colors==== | |||
<syntaxhighlight lang="lua">maxColorVehicles = { | |||
483, 524, 446 | |||
}</syntaxhighlight> | |||
==Aircrafts== | ==Aircrafts== | ||
Line 32: | Line 64: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Airplanes=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 62: | Line 94: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Helicopters=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 88: | Line 120: | ||
|} | |} | ||
== | ==Boats== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 114: | Line 146: | ||
|} | |} | ||
== | ==Land vehicles== | ||
{| | {| | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Bikes=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 142: | Line 174: | ||
| PCJ-600 || 461 || align="center" | [[Image:Pcj600.png]] | | PCJ-600 || 461 || align="center" | [[Image:Pcj600.png]] | ||
|- | |- | ||
| | | Pizzaboy || 448 || align="center" | [[Image:Pizzaboy.png]] | ||
|- | |- | ||
| Sanchez || 468 || align="center" | [[Image:Sanchez.png]] | | Sanchez || 468 || align="center" | [[Image:Sanchez.png]] | ||
Line 151: | Line 183: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===2-Door & Compact cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 197: | Line 229: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | === 4-Door & Luxury cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 248: | Line 280: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Civil service=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 274: | Line 306: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Government vehicles=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 314: | Line 346: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Heavy & Utility trucks=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 321: | Line 353: | ||
| Benson || 499 || align="center" | [[Image:Benson.png]] | | Benson || 499 || align="center" | [[Image:Benson.png]] | ||
|- | |- | ||
| | | Boxville Mission|| 609 || align="center" | [[Image:Boxburg.png]] | ||
|- | |- | ||
| Boxville || 498 || align="center" | [[Image:Boxville.png]] | | Boxville || 498 || align="center" | [[Image:Boxville.png]] | ||
Line 360: | Line 392: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Light trucks & Vans=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 423: | Line 455: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Lowriders=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 445: | Line 477: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Muscle cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 461: | Line 493: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Street racers=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 510: | Line 542: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===RC Vehicles=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 530: | Line 562: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Trailers=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 557: | Line 589: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Trains & Railroad cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
Line 578: | Line 610: | ||
|} | |} | ||
== | ==Recreational== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 616: | Line 648: | ||
==See Also== | ==See Also== | ||
[[hu:Vehicle IDs]] | |||
[[id|ID Lists]] | [[id|ID Lists]] | ||
[[tr:Araç ID'leri]] | [[tr:Araç ID'leri]] |
Revision as of 23:50, 7 August 2019
Introduction
This is a list of GTA:SA's vehicle ID numbers, as listed in the vehicles.ide file. These vehicle ID numbers are used for several vehicle scripting functions.
Lua table of all the valid vehicle IDs listed on this page
vehicleIds = {400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611 }
Lua table of all vehicle names
-- (when indexing just do a <vehicle model id you want the name of> - 399 to get the name) vehicleNames = {"Landstalker", "Bravura", "Buffalo", "Linerunner", "Perennial", "Sentinel", "Dumper", "Fire Truck", "Trashmaster", "Stretch", "Manana", "Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam", "Esperanto", "Taxi", "Washington", "Bobcat", "Mr. Whoopee", "BF Injection", "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife", "Trailer 1", "Previon", "Coach", "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer 2", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic", "Sanchez", "Sparrow", "Patriot", "Quadbike", "Coastguard", "Dinghy", "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX", "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper", "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring Racer", "Sandking", "Blista Compact", "Police Maverick", "Boxville", "Benson", "Mesa", "RC Goblin", "Hotring Racer 3", "Hotring Racer 2", "Bloodring Banger", "Rancher Lure", "Super GT", "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stuntplane", "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra", "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Towtruck", "Fortune", "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine Harvester", "Feltzer", "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent", "Bullet", "Clover", "Sadler", "Fire Truck Ladder", "Hustler", "Intruder", "Primo", "Cargobob", "Tampa", "Sunrise", "Merit", "Utility Van", "Nevada", "Yosemite", "Windsor", "Monster 2", "Monster 3", "Uranus", "Jester", "Sultan", "Stratum", "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito", "Freight Train Flatbed", "Streak Train Trailer", "Kart", "Mower", "Dune", "Sweeper", "Broadway", "Tornado", "AT-400", "DFT-30", "Huntley", "Stafford", "BF-400", "Newsvan", "Tug", "Trailer (Tanker Commando)", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club", "Box Freight", "Trailer 3", "Andromada", "Dodo", "RC Cam", "Launch", "Police LS", "Police", "Police SF", "Police LV", "Police Ranger", "Ranger", "Picador", "S.W.A.T.", "Alpha", "Phoenix", "Glendale Damaged", "Sadler", "Sadler Damaged", "Baggage Trailer (covered)", "Baggage Trailer (Uncovered)", "Trailer (Stairs)", "Boxville Mission", "Farm Trailer", "Street Clean Trailer" }
Lua table of vehicles that are not lockable
nonLockableVehicles = { 594, 606, 607, 611, 584, 608, 435, 450, 591, 539, 441, 464, 501, 465, 564, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 581, 509, 481, 462, 521, 463, 510, 522, 461, 448, 468, 586, 425, 520 }
Lua table of vehicles without number plates
noNumberPlates = { 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 509, 481, 510, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454 }
Lua table of vehicles that support up to three different colors
maxColorVehicles = { 483, 524, 446 }
Aircrafts
Boats
Name | ID | Image |
---|---|---|
Coastguard | 472 | |
Dinghy | 473 | |
Jetmax | 493 | |
Launch | 595 | |
Marquis | 484 | |
Predator | 430 | |
Reefer | 453 | |
Speeder | 452 | |
Squalo | 446 | |
Tropic | 454 |
Land vehicles
Bikes
|
2-Door & Compact cars
|
4-Door & Luxury cars
|
Civil service
|
Government vehicles
|
Heavy & Utility trucks
|
Light trucks & Vans
|
SUVs & Wagons
|
Lowriders
|
Muscle cars
|
Street racers
|
RC Vehicles
|
Trailers
|
Trains & Railroad cars
|
Recreational
Name | ID | Image |
---|---|---|
Bandito | 568 | |
BF Injection | 424 | |
Bloodring Banger | 504 | |
Caddy | 457 | |
Camper | 483 | |
Journey | 508 | |
Kart | 571 | |
Mesa | 500 | |
Monster | 444 | |
Monster 2 | 556 | |
Monster 3 | 557 | |
Quadbike | 471 | |
Sandking | 495 | |
Vortex | 539 |
Vehicle Functions
- addVehicleSirens
- getModelHandling
- getVehicleRespawnPosition
- getVehicleRespawnRotation
- getVehiclesOfType
- removeVehicleSirens
- resetVehicleExplosionTime
- resetVehicleIdleTime
- respawnVehicle
- setModelHandling
- setVehicleIdleRespawnDelay
- setVehicleRespawnDelay
- setVehicleRespawnPosition
- setVehicleRespawnRotation
- spawnVehicle
- toggleVehicleRespawn
Shared
- addVehicleUpgrade
- attachTrailerToVehicle
- blowVehicle
- createVehicle
- detachTrailerFromVehicle
- fixVehicle
- getOriginalHandling
- getTrainDirection
- getTrainPosition
- getTrainSpeed
- getTrainTrack
- getVehicleColor
- getVehicleCompatibleUpgrades
- getVehicleController
- getVehicleDoorOpenRatio
- getVehicleDoorState
- getVehicleEngineState
- getVehicleHandling
- getVehicleHeadLightColor
- getVehicleLandingGearDown
- getVehicleLightState
- getVehicleMaxPassengers
- getVehicleModelFromName
- getVehicleName
- getVehicleNameFromModel
- getVehicleOccupant
- getVehicleOccupants
- getVehicleOverrideLights
- getVehiclePaintjob
- getVehiclePanelState
- getVehiclePlateText
- getVehicleSirenParams
- getVehicleSirens
- getVehicleSirensOn
- getVehicleTowedByVehicle
- getVehicleTowingVehicle
- getVehicleTurretPosition
- getVehicleType
- getVehicleUpgradeOnSlot
- getVehicleUpgradeSlotName
- getVehicleUpgrades
- getVehicleVariant
- getVehicleWheelStates
- isTrainDerailable
- isTrainDerailed
- isVehicleBlown
- isVehicleDamageProof
- isVehicleFuelTankExplodable
- isVehicleLocked
- isVehicleOnGround
- isVehicleTaxiLightOn
- removeVehicleUpgrade
- setTrainDerailable
- setTrainDerailed
- setTrainDirection
- setTrainPosition
- setTrainSpeed
- setTrainTrack
- setVehicleColor
- setVehicleDamageProof
- setVehicleDoorOpenRatio
- setVehicleDoorState
- setVehicleDoorsUndamageable
- setVehicleEngineState
- setVehicleFuelTankExplodable
- setVehicleHandling
- setVehicleHeadLightColor
- setVehicleLandingGearDown
- setVehicleLightState
- setVehicleLocked
- setVehicleOverrideLights
- setVehiclePaintjob
- setVehiclePanelState
- setVehiclePlateText
- setVehicleSirens
- setVehicleSirensOn
- setVehicleTaxiLightOn
- setVehicleTurretPosition
- setVehicleVariant
- setVehicleWheelStates