Vehicle IDs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== | ==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==== | |||
<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 vehicles that are not lockable==== | |||
<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, | |||
462, 521, 463, 510, 522, 461, 448, 468, 586, 425, 520 | |||
}</syntaxhighlight> | |||
====Lua table of vehicles without number plates==== | |||
<syntaxhighlight lang="lua">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 | |||
}</syntaxhighlight> | |||
====Lua table of vehicles that support up to three different colors==== | |||
<syntaxhighlight lang="lua">maxColorVehicles = { | |||
483, 524, 446 | |||
}</syntaxhighlight> | |||
==Aircrafts== | |||
{| | {| | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Airplanes=== | ||
{|class="wikitable sortable" | |||
|- | |||
! Name || ID || class="unsortable" | Image | |||
|- | |||
| Andromada || 592 || align="center" | [[Image:Androm.png]] | |||
|- | |||
| AT-400 || 577 || align="center" | [[Image:At400.png]] | |||
|- | |||
| Beagle || 511 || align="center" | [[Image:Beagle.png]] | |||
|- | |||
| Cropduster || 512 || align="center" | [[Image:Cropdust.png]] | |||
|- | |||
| Dodo || 593 || align="center" | [[Image:Dodo.png]] | |||
|- | |||
| Hydra || 520 || align="center" | [[Image:Hydra.png]] | |||
|- | |||
| Nevada || 553 || align="center" | [[Image:Nevada.png]] | |||
|- | |||
| Rustler || 476 || align="center" | [[Image:Rustler.png]] | |||
|- | |||
| Shamal || 519 || align="center" | [[Image:Shamal.png]] | |||
|- | |||
| Skimmer || 460 || align="center" | [[Image:Skimmer.png]] | |||
|- | |||
| Stuntplane || 513 || align="center" | [[Image:Stunt.png]] | |||
|} | |||
| style="padding-right: 50px;" | | |||
===Helicopters=== | |||
{|class="wikitable sortable" | |||
|- | |||
! Name || ID || class="unsortable" | Image | |||
|- | |||
| Cargobob || 548 || align="center" | [[Image:Cargobob.png]] | |||
|- | |||
| Hunter || 425 || align="center" | [[Image:Hunter.png]] | |||
|- | |||
| Leviathan || 417 || align="center" | [[Image:Leviathn.png]] | |||
|- | |||
| Maverick || 487 || align="center" | [[Image:Maverick.png]] | |||
|- | |||
| News Chopper || 488 || align="center" | [[Image:Newschop.png]] | |||
|- | |||
| Police Maverick || 497 || align="center" | [[Image:Polmav.png]] | |||
|- | |||
| Raindance || 563 || align="center" | [[Image:Raindanc.png]] | |||
|- | |||
| Seasparrow || 447 || align="center" | [[Image:Seaspar.png]] | |||
|- | |||
| Sparrow || 469 || align="center" | [[Image:Sparrow.png]] | |||
|} | |||
|} | |||
==Boats== | |||
{|class="wikitable sortable" | |||
|- | |||
! Name || ID || class="unsortable" | Image | |||
|- | |||
| Coastguard || 472 || align="center" | [[Image:Coastg.png]] | |||
|- | |||
| Dinghy || 473 || align="center" | [[Image:Dinghy.png]] | |||
|- | |||
| Jetmax || 493 || align="center" | [[Image:Jetmax.png]] | |||
|- | |||
| Launch || 595 || align="center" | [[Image:Launch.png]] | |||
|- | |||
| Marquis || 484 || align="center" | [[Image:Marquis.png]] | |||
|- | |||
| Predator || 430 || align="center" | [[Image:Predator.png]] | |||
|- | |||
| Reefer || 453 || align="center" | [[Image:Reefer.png]] | |||
|- | |||
| Speeder || 452 || align="center" | [[Image:Speeder.png]] | |||
|- | |||
| Squalo || 446 || align="center" | [[Image:Squalo.png]] | |||
|- | |||
| Tropic || 454 || align="center" | [[Image:Tropic.png]] | |||
|} | |||
==Land vehicles== | |||
{| | |||
|- style="vertical-align: top;" | |||
| style="padding-right: 50px;" | | |||
===Bikes=== | |||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 36: | Line 158: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
===cars | ===2-Door & Compact cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 82: | Line 204: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== cars | === 4-Door & Luxury cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 133: | Line 255: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Civil service=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 159: | Line 281: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== Government | ===Government vehicles=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 199: | Line 321: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Heavy & Utility trucks=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 206: | Line 328: | ||
| 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 245: | Line 367: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
===Light trucks | ===Light trucks & Vans=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 308: | Line 430: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Lowriders=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 330: | Line 452: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== Muscle | ===Muscle cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 346: | Line 468: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== Street | ===Street racers=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 395: | Line 517: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===RC Vehicles=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 442: | Line 564: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
===Trains | ===Trains & Railroad cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
Line 462: | Line 584: | ||
|} | |} | ||
==Recreational== | |||
{|class="wikitable sortable" | |||
|- | |||
! Name || ID || class="unsortable" | Image | |||
|- | |||
| Bandito || 568 || align="center" | [[Image:Bandito.png]] | |||
|- | |||
| BF Injection || 424 || align="center" | [[Image:Bfinject.png]] | |||
|- | |||
| Bloodring Banger || 504 || align="center" | [[Image:Bloodra.png]] | |||
|- | |||
| Caddy || 457 || align="center" | [[Image:Caddy.png]] | |||
|- | |||
| Camper || 483 || align="center" | [[Image:Camper.png]] | |||
|- | |||
| Journey || 508 || align="center" | [[Image:Journey.png]] | |||
|- | |||
| Kart || 571 || align="center" | [[Image:Kart.png]] | |||
|- | |||
| Mesa || 500 || align="center" | [[Image:Mesa.png]] | |||
|- | |||
| Monster || 444 || align="center" | [[Image:Monster.png]] | |||
|- | |||
| Monster 2 || 556 || align="center" | [[Image:Monstera.png]] | |||
|- | |||
| Monster 3 || 557 || align="center" | [[Image:Monsterb.png]] | |||
|- | |||
| Quadbike || 471 || align="center" | [[Image:Quad.png]] | |||
|- | |||
| Sandking || 495 || align="center" | [[Image:Sandking.png]] | |||
|- | |||
| Vortex || 539 || align="center" | [[Image:Vortex.png]] | |||
|} | |||
==Vehicle Functions== | |||
{{Vehicle functions}} | |||
==See Also== | |||
[[hu:Vehicle IDs]] | |||
[[id|ID Lists]] | |||
[[tr:Araç ID'leri]] | |||
[[it:ID Veicoli]] | |||
[[ru:Vehicle IDs]] | |||
[[de:Fahrzeug IDs]] | |||
[[Category:ID Lists]] |
Revision as of 03:23, 21 May 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 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
- addVehicleUpgrade
- attachTrailerToVehicle
- blowVehicle
- createVehicle
- detachTrailerFromVehicle
- fixVehicle
- getModelHandling
- getOriginalHandling
- getTrainDirection
- getTrainPosition
- getTrainSpeed
- getVehicleColor
- getVehicleCompatibleUpgrades
- getVehicleController
- getVehicleDoorOpenRatio
- getVehicleDoorState
- getVehicleEngineState
- getVehicleHandling
- getVehicleHeadLightColor
- getVehicleLandingGearDown
- getVehicleLightState
- getVehicleMaxPassengers
- getVehicleModelFromName
- getVehicleName
- getVehicleNameFromModel
- getVehicleOccupant
- getVehicleOccupants
- getVehicleOverrideLights
- getVehiclePaintjob
- getVehiclePanelState
- getVehiclePlateText
- getVehicleRespawnPosition
- getVehicleRespawnRotation
- getVehicleSirenParams
- getVehicleSirens
- getVehicleSirensOn
- getVehiclesOfType
- getVehicleTowedByVehicle
- getVehicleTowingVehicle
- getVehicleTurretPosition
- getVehicleType
- getVehicleUpgradeOnSlot
- getVehicleUpgrades
- getVehicleUpgradeSlotName
- getVehicleVariant
- getVehicleWheelStates
- isTrainDerailable
- isTrainDerailed
- isVehicleBlown
- isVehicleDamageProof
- isVehicleFuelTankExplodable
- isVehicleLocked
- isVehicleOnGround
- isVehicleTaxiLightOn
- removeVehicleSirens
- removeVehicleUpgrade
- resetVehicleExplosionTime
- resetVehicleIdleTime
- respawnVehicle
- setModelHandling
- setTrainDerailable
- setTrainDerailed
- setTrainDirection
- setTrainPosition
- setTrainSpeed
- setVehicleColor
- setVehicleDamageProof
- setVehicleDoorOpenRatio
- setVehicleDoorState
- setVehicleDoorsUndamageable
- setVehicleEngineState
- setVehicleFuelTankExplodable
- setVehicleHandling
- setVehicleHeadLightColor
- setVehicleIdleRespawnDelay
- setVehicleLandingGearDown
- setVehicleLightState
- setVehicleLocked
- setVehicleOverrideLights
- setVehiclePaintjob
- setVehiclePanelState
- setVehiclePlateText
- setVehicleRespawnDelay
- setVehicleRespawnPosition
- setVehicleRespawnRotation
- setVehicleSirens
- setVehicleSirensOn
- setVehicleTaxiLightOn
- setVehicleTurretPosition
- setVehicleVariant
- setVehicleWheelStates
- spawnVehicle
- toggleVehicleRespawn