Weapons: Difference between revisions
Jump to navigation
Jump to search
m (test) |
(Entirely redone into a small 2 column table) |
||
Line 1: | Line 1: | ||
'''Scripting functions that ask for a weapon ID need an integer that refers to the GTASA weapon ID list. They are listed below.''' | '''Scripting functions that ask for a weapon ID need an integer that refers to the GTASA weapon ID list. They are listed below.''' | ||
<br> | <br> | ||
*''NOTE: GTASA [[Weapon_skill_levels|weapon stats]] will affect movement, accuracy, damage, and dual wield capability. See [[SetPedStat]] to change these stats. The MTA server comes with a resource called "defaultStats" that sets GTASA weapon stats to 999. See the weapon stats link for more info.'' | *''NOTE: Weapons in dual mode have the ammo clips that are denoted in parenthesis () below. GTASA [[Weapon_skill_levels|weapon stats]] will affect movement, accuracy, damage, and dual wield capability. See [[SetPedStat]] to change these stats. The MTA server comes with a resource called "defaultStats" that sets GTASA weapon stats to 999. See the weapon stats link for more info.'' | ||
{|border="1" cellpadding=" | {|border="1" cellpadding="2" cellspacing="0" align="center" | ||
|- | |- | ||
| | |||
! scope="col" style="background:#efefef;" | Weapon | |||
! scope="col" style="background:#efefef;" | ID | |||
! scope="col" style="background:#efefef;" | Clip Size | |||
! scope="col" style="background:#efefef;" | Dual? | |||
! scope="col" style="background:#efefef;" | Model ID | |||
| | | | ||
! scope="col" style="background:#efefef;" | Weapon | ! scope="col" style="background:#efefef;" | Weapon | ||
Line 17: | Line 23: | ||
|No | |No | ||
|N/A | |N/A | ||
! scope="row" style="background:#efefef;" | Slot 6: Rifles | |||
|Country Rifle | |||
|33 | |||
|1 | |||
|No | |||
|357 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 24: | Line 36: | ||
|No | |No | ||
|331 | |331 | ||
! scope="row" style="background:#efefef;" | | |||
|Sniper Rifle | |||
|34 | |||
|1 | |||
|No | |||
|358 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | Slot 1: Melee | ! scope="row" style="background:#efefef;" | Slot 1: Melee | ||
Line 31: | Line 49: | ||
|No | |No | ||
|333 | |333 | ||
! scope="row" style="background:#efefef;" | Slot 7: Heavy Weapons | |||
|Rocket Launcher | |||
|35 | |||
|1 | |||
|No | |||
|359 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 38: | Line 62: | ||
|No | |No | ||
|334 | |334 | ||
! scope="row" style="background:#efefef;" | | |||
|Heat-Seeking RPG | |||
|36 | |||
|1 | |||
|No | |||
|360 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 45: | Line 75: | ||
|No | |No | ||
|335 | |335 | ||
! scope="row" style="background:#efefef;" | | |||
|Flamethrower | |||
|37 | |||
|50 | |||
|No | |||
|361 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 52: | Line 88: | ||
|No | |No | ||
|336 | |336 | ||
! scope="row" style="background:#efefef;" | | |||
|Minigun | |||
|38 | |||
|500 | |||
|No | |||
|362 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 59: | Line 101: | ||
|No | |No | ||
|337 | |337 | ||
! scope="row" style="background:#efefef;" | Slot 8: Projectiles | |||
|Grenade | |||
|16 | |||
|1 | |||
|No | |||
|342 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 66: | Line 114: | ||
|No | |No | ||
|338 | |338 | ||
! scope="row" style="background:#efefef;" | | |||
|Tear Gas | |||
|17 | |||
|1 | |||
|No | |||
|343 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 73: | Line 127: | ||
|No | |No | ||
|339 | |339 | ||
! scope="row" style="background:#efefef;" | | |||
|Molotov Cocktails | |||
|18 | |||
|1 | |||
|No | |||
|344 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
Line 80: | Line 140: | ||
|No | |No | ||
|341 | |341 | ||
! scope="row" style="background:#efefef;" | | |||
|Satchel Charges | |||
|39 | |||
|1 | |||
|No | |||
|363 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | Slot 2: Handguns | ! scope="row" style="background:#efefef;" | Slot 2: Handguns | ||
| | |Pistol | ||
| | |22 | ||
| | |17 (34) | ||
| | |Yes | ||
| | |346 | ||
! scope="row" style="background:#efefef;" | Slot 9: Special 1 | |||
|Spraycan | |||
|41 | |||
|500 | |||
|No | |||
|365 | |||
|- | |||
! scope="row" style="background:#efefef;" | | |||
|Silenced Pistol | |||
|23 | |||
|17 | |||
|No | |||
|347 | |||
! scope="row" style="background:#efefef;" | | |||
|Fire Extinguisher | |||
|42 | |||
|500 | |||
|No | |||
|366 | |||
|- | |||
! scope="row" style="background:#efefef;" | | |||
|Desert Eagle | |||
|24 | |||
|7 | |||
|No | |||
|348 | |||
! scope="row" style="background:#efefef;" | | |||
|Camera | |||
|43 | |||
|36 | |||
|No | |||
|367 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | Slot 3: Shotguns | ! scope="row" style="background:#efefef;" | Slot 3: Shotguns | ||
| | |Shotgun | ||
| | |25 | ||
| | |1 | ||
| | |No | ||
| | |349 | ||
! scope="row" style="background:#efefef;" | Slot 10: Gifts/Other | |||
|Long Purple Dildo | |||
|10 | |||
|N/A | |||
|No | |||
|321 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
| | |Sawn-Off Shotgun | ||
| | |26 | ||
| | |2 (4) | ||
| | |Yes | ||
| | |350 | ||
! scope="row" style="background:#efefef;" | | |||
|Short tan Dildo | |||
|11 | |||
|N/A | |||
|No | |||
|322 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
| | |SPAZ-12 Combat Shotgun | ||
| | |27 | ||
| | |7 | ||
| | |No | ||
| | |351 | ||
! scope="row" style="background:#efefef;" | | |||
|Vibrator | |||
|12 | |||
|N/A | |||
|No | |||
|323 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | Slot | ! scope="row" style="background:#efefef;" | Slot 4: Sub-Machine Guns | ||
| | |Uzi | ||
| | |28 | ||
| | |50 (100) | ||
| | |Yes | ||
| | |352 | ||
! scope="row" style="background:#efefef;" | | |||
|Flowers | |||
|14 | |||
|N/A | |||
|No | |||
|325 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
| | |MP5 | ||
| | |29 | ||
| | |30 | ||
| | |No | ||
| | |353 | ||
! scope="row" style="background:#efefef;" | | |||
|Cane | |||
|15 | |||
|N/A | |||
|No | |||
|326 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | Slot | ! scope="row" style="background:#efefef;" | | ||
| | |TEC-9 | ||
| | |32 | ||
| | |50 (100) | ||
| | |Yes | ||
| | |372 | ||
! scope="row" style="background:#efefef;" | Slot 11: Special 2 | |||
|Night-Vision Goggles | |||
|44 | |||
|N/A | |||
|No | |||
|368 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | Slot | ! scope="row" style="background:#efefef;" | Slot 5: Assault Rifles | ||
| | |AK-47 | ||
| | |30 | ||
| | |30 | ||
| | |No | ||
| | |355 | ||
! scope="row" style="background:#efefef;" | | |||
|Infrared Goggles | |||
|45 | |||
|N/A | |||
|No | |||
|369 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
| | |M4 | ||
| | |31 | ||
| | |50 | ||
| | |No | ||
| | |356 | ||
! scope="row" style="background:#efefef;" | | |||
|Parachute | |||
|46 | |||
|N/A | |||
|No | |||
|371 | |||
|- | |- | ||
! scope="row" style="background:#efefef;" | | ! scope="row" style="background:#efefef;" | | ||
| | | | ||
| | | | ||
Line 150: | Line 296: | ||
| | | | ||
| | | | ||
! scope="row" style="background:#efefef;" | Slot 12: Satchel Detonator | ! scope="row" style="background:#efefef;" | Slot 12: Satchel Detonator | ||
| | |Satchel Detonator | ||
| | |40 | ||
| | |N/A | ||
| | |No | ||
| | |364 | ||
|} | |} |
Revision as of 02:38, 12 January 2011
Scripting functions that ask for a weapon ID need an integer that refers to the GTASA weapon ID list. They are listed below.
- NOTE: Weapons in dual mode have the ammo clips that are denoted in parenthesis () below. GTASA weapon stats will affect movement, accuracy, damage, and dual wield capability. See SetPedStat to change these stats. The MTA server comes with a resource called "defaultStats" that sets GTASA weapon stats to 999. See the weapon stats link for more info.
Weapon | ID | Clip Size | Dual? | Model ID | Weapon | ID | Clip Size | Dual? | Model ID | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Slot 0: No Weapon | Fist | 0 | N/A | No | N/A | Slot 6: Rifles | Country Rifle | 33 | 1 | No | 357 |
Brass Knuckles | 1 | N/A | No | 331 | Sniper Rifle | 34 | 1 | No | 358 | ||
Slot 1: Melee | Golf Club | 2 | N/A | No | 333 | Slot 7: Heavy Weapons | Rocket Launcher | 35 | 1 | No | 359 |
Nightstick | 3 | N/A | No | 334 | Heat-Seeking RPG | 36 | 1 | No | 360 | ||
Knife | 4 | N/A | No | 335 | Flamethrower | 37 | 50 | No | 361 | ||
Baseball Bat | 5 | N/A | No | 336 | Minigun | 38 | 500 | No | 362 | ||
Shovel | 6 | N/A | No | 337 | Slot 8: Projectiles | Grenade | 16 | 1 | No | 342 | |
Pool Cue | 7 | N/A | No | 338 | Tear Gas | 17 | 1 | No | 343 | ||
Katana | 8 | N/A | No | 339 | Molotov Cocktails | 18 | 1 | No | 344 | ||
Chainsaw | 9 | N/A | No | 341 | Satchel Charges | 39 | 1 | No | 363 | ||
Slot 2: Handguns | Pistol | 22 | 17 (34) | Yes | 346 | Slot 9: Special 1 | Spraycan | 41 | 500 | No | 365 |
Silenced Pistol | 23 | 17 | No | 347 | Fire Extinguisher | 42 | 500 | No | 366 | ||
Desert Eagle | 24 | 7 | No | 348 | Camera | 43 | 36 | No | 367 | ||
Slot 3: Shotguns | Shotgun | 25 | 1 | No | 349 | Slot 10: Gifts/Other | Long Purple Dildo | 10 | N/A | No | 321 |
Sawn-Off Shotgun | 26 | 2 (4) | Yes | 350 | Short tan Dildo | 11 | N/A | No | 322 | ||
SPAZ-12 Combat Shotgun | 27 | 7 | No | 351 | Vibrator | 12 | N/A | No | 323 | ||
Slot 4: Sub-Machine Guns | Uzi | 28 | 50 (100) | Yes | 352 | Flowers | 14 | N/A | No | 325 | |
MP5 | 29 | 30 | No | 353 | Cane | 15 | N/A | No | 326 | ||
TEC-9 | 32 | 50 (100) | Yes | 372 | Slot 11: Special 2 | Night-Vision Goggles | 44 | N/A | No | 368 | |
Slot 5: Assault Rifles | AK-47 | 30 | 30 | No | 355 | Infrared Goggles | 45 | N/A | No | 369 | |
M4 | 31 | 50 | No | 356 | Parachute | 46 | N/A | No | 371 | ||
Slot 12: Satchel Detonator | Satchel Detonator | 40 | N/A | No | 364 |