Vehicle IDs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(21 intermediate revisions by 4 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> | }</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 29: | ||
}</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 39: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Airplanes=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 62: | Line 69: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Helicopters=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 88: | Line 95: | ||
|} | |} | ||
== | ==Boats== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 119: | Line 126: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Bikes=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 151: | Line 158: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===2-Door & Compact cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 197: | Line 204: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | === 4-Door & Luxury cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 248: | Line 255: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Civil service=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 274: | Line 281: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Government vehicles=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 314: | Line 321: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Heavy & Utility trucks=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 360: | Line 367: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Light trucks & Vans=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 423: | Line 430: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Lowriders=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 445: | Line 452: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Muscle cars=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 461: | Line 468: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===Street racers=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 510: | Line 517: | ||
| style="padding-right: 50px;" | | | style="padding-right: 50px;" | | ||
=== | ===RC Vehicles=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
|- | |- | ||
Line 616: | Line 623: | ||
==See Also== | ==See Also== | ||
[[hu:Vehicle IDs]] | |||
[[id|ID Lists]] | [[id|ID Lists]] | ||
[[tr:Araç ID'leri]] | [[tr:Araç ID'leri]] |
Revision as of 21:59, 5 December 2018
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
- 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