Weapons: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Style changed) |
||
Line 6: | Line 6: | ||
{|border="1" cellpadding="1" cellspacing="0" align="center" | {|border="1" cellpadding="1" cellspacing="0" align="center" | ||
|- | |- | ||
! scope="col" style="background:#999999;" colspan = "1"| Weapon Name | |||
! scope="col" style="background:#999999;" colspan = "1"| ID | |||
! scope="col" style="background:#999999;" colspan = "1"| Clip | |||
! scope="col" style="background:#999999;" colspan = "1"| Model ID | |||
| style="background:#999999;" | | |||
! scope="col" style="background:#999999;" colspan = "1"| Weapon Name | |||
! scope="col" style="background:#999999;" colspan = "1"| ID | |||
! scope="col" style="background:#999999;" colspan = "1"| Clip | |||
! scope="col" style="background:#999999;" colspan = "1"| Model ID | |||
|- | |||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 0: No Weapon | |||
| | | | ||
! scope=" | ! scope="row" style="background:#cccccc;" colspan = "4"| Slot 6: Rifles | ||
|- | |- | ||
|Fist | |Fist | ||
|0 | |0 | ||
| | | | ||
| | | | ||
| | |||
|Country Rifle | |Country Rifle | ||
|33 | |33 | ||
Line 28: | Line 30: | ||
|357 | |357 | ||
|- | |- | ||
|Brass Knuckles | |Brass Knuckles | ||
|1 | |1 | ||
| | | | ||
|331 | |331 | ||
| | |||
|Sniper Rifle | |Sniper Rifle | ||
|34 | |34 | ||
Line 39: | Line 40: | ||
|358 | |358 | ||
|- | |- | ||
! scope="row" style="background:# | ! scope="row" style="background:#cccccc;" colspan = "4"| Slot 1: Melee | ||
| | |||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 7: Heavy Weapons | |||
|- | |||
|Golf Club | |Golf Club | ||
|2 | |2 | ||
| | | | ||
|333 | |333 | ||
| | |||
|Rocket Launcher | |Rocket Launcher | ||
|35 | |35 | ||
Line 50: | Line 54: | ||
|359 | |359 | ||
|- | |- | ||
|Nightstick | |Nightstick | ||
|3 | |3 | ||
| | | | ||
|334 | |334 | ||
| | |||
|Heat-Seeking RPG | |Heat-Seeking RPG | ||
|36 | |36 | ||
Line 61: | Line 64: | ||
|360 | |360 | ||
|- | |- | ||
|Knife | |Knife | ||
|4 | |4 | ||
| | | | ||
|335 | |335 | ||
| | |||
|Flamethrower | |Flamethrower | ||
|37 | |37 | ||
Line 72: | Line 74: | ||
|361 | |361 | ||
|- | |- | ||
|Baseball Bat | |Baseball Bat | ||
|5 | |5 | ||
| | | | ||
|336 | |336 | ||
| | |||
|Minigun | |Minigun | ||
|38 | |38 | ||
|500 | |500 | ||
|362 | |362 | ||
|- | |- | ||
|Shovel | |Shovel | ||
|6 | |6 | ||
| | | | ||
|337 | |337 | ||
! scope="row" style="background:# | | | ||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 8: Projectiles | |||
|- | |||
|Pool Cue | |||
|7 | |||
| | |||
|338 | |||
| | |||
|Grenade | |Grenade | ||
|16 | |16 | ||
Line 95: | Line 101: | ||
|342 | |342 | ||
|- | |- | ||
|Katana | |||
| | |8 | ||
| | | | ||
|339 | |||
| | | | ||
|Tear Gas | |Tear Gas | ||
|17 | |17 | ||
Line 106: | Line 111: | ||
|343 | |343 | ||
|- | |- | ||
|Chainsaw | |||
| | |9 | ||
| | | | ||
|341 | |||
| | | | ||
|Molotov Cocktails | |Molotov Cocktails | ||
|18 | |18 | ||
Line 117: | Line 121: | ||
|344 | |344 | ||
|- | |- | ||
! scope="row" style="background:# | ! scope="row" style="background:#cccccc;" colspan = "4"| Slot 2: Handguns | ||
| | | | ||
|Satchel Charges | |Satchel Charges | ||
|39 | |39 | ||
Line 128: | Line 128: | ||
|363 | |363 | ||
|- | |- | ||
|Pistol | |Pistol | ||
|22 | |22 | ||
|17 (34) | |17 (34) | ||
|346 | |346 | ||
! scope="row" style="background:# | | | ||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 9: Special 1 | |||
|- | |- | ||
|Silenced Pistol | |Silenced Pistol | ||
|23 | |23 | ||
|17 | |17 | ||
|347 | |347 | ||
| | |||
| | |Spraycan | ||
| | |41 | ||
|500 | |500 | ||
| | |365 | ||
|- | |- | ||
|Desert Eagle | |Desert Eagle | ||
|24 | |24 | ||
|7 | |7 | ||
|348 | |348 | ||
! scope="row" style="background:# | | | ||
|Fire Extinguisher | |||
|42 | |||
|500 | |||
|366 | |||
|- | |||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 3: Shotguns | |||
| | |||
|Camera | |Camera | ||
|43 | |43 | ||
Line 161: | Line 162: | ||
|367 | |367 | ||
|- | |- | ||
|Shotgun | |Shotgun | ||
|25 | |25 | ||
|1 | |1 | ||
|349 | |349 | ||
| | | | ||
| | ! scope="row" style="background:#cccccc;" colspan = "4"| Slot 10: Gifts/Other | ||
|- | |- | ||
|Sawn-Off Shotgun | |Sawn-Off Shotgun | ||
|26 | |26 | ||
|2 (4) | |2 (4) | ||
|350 | |350 | ||
| | | | ||
| | |Long Purple Dildo | ||
|10 | |||
| | |||
|321 | |||
|- | |- | ||
|SPAZ-12 Combat Shotgun | |SPAZ-12 Combat Shotgun | ||
|27 | |27 | ||
|7 | |7 | ||
|351 | |351 | ||
! scope="row" style="background:# | | | ||
|Short tan Dildo | |||
|11 | |||
| | |||
|322 | |||
|- | |||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 4: Sub-Machine Guns | |||
| | |||
|Vibrator | |Vibrator | ||
|12 | |12 | ||
Line 194: | Line 196: | ||
|323 | |323 | ||
|- | |- | ||
|Uzi | |Uzi | ||
|28 | |28 | ||
|50 (100) | |50 (100) | ||
|352 | |352 | ||
| | |||
|Flowers | |Flowers | ||
|14 | |14 | ||
Line 205: | Line 206: | ||
|325 | |325 | ||
|- | |- | ||
|MP5 | |MP5 | ||
|29 | |29 | ||
|30 | |30 | ||
|353 | |353 | ||
| | |||
|Cane | |Cane | ||
|15 | |15 | ||
Line 216: | Line 216: | ||
|326 | |326 | ||
|- | |- | ||
|TEC-9 | |TEC-9 | ||
|32 | |32 | ||
|50 (100) | |50 (100) | ||
|372 | |372 | ||
! scope="row" style="background:# | | | ||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 11: Special 2 | |||
|- | |||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 5: Assault Rifles | |||
| | |||
|Night-Vision Goggles | |Night-Vision Goggles | ||
|44 | |44 | ||
Line 227: | Line 230: | ||
|368 | |368 | ||
|- | |- | ||
|AK-47 | |AK-47 | ||
|30 | |30 | ||
|30 | |30 | ||
|355 | |355 | ||
| | |||
|Infrared Goggles | |Infrared Goggles | ||
|45 | |45 | ||
Line 238: | Line 240: | ||
|369 | |369 | ||
|- | |- | ||
|M4 | |M4 | ||
|31 | |31 | ||
|50 | |50 | ||
|356 | |356 | ||
| | |||
|Parachute | |Parachute | ||
|46 | |46 | ||
Line 249: | Line 250: | ||
|371 | |371 | ||
|- | |- | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
! scope="row" style="background:# | | | ||
! scope="row" style="background:#cccccc;" colspan = "4"| Slot 12: Satchel Detonator | |||
|- | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|Satchel Detonator | |Satchel Detonator | ||
|40 | |40 |
Revision as of 05:21, 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.
- NOTES:
- (Dual) denotes clip size when the weapon is dual wielded. Weapons without this specification are not dual wield weapons.
- 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 Name | ID | Clip | Model ID | Weapon Name | ID | Clip | Model ID | |
---|---|---|---|---|---|---|---|---|
Slot 0: No Weapon | Slot 6: Rifles | |||||||
Fist | 0 | Country Rifle | 33 | 1 | 357 | |||
Brass Knuckles | 1 | 331 | Sniper Rifle | 34 | 1 | 358 | ||
Slot 1: Melee | Slot 7: Heavy Weapons | |||||||
Golf Club | 2 | 333 | Rocket Launcher | 35 | 1 | 359 | ||
Nightstick | 3 | 334 | Heat-Seeking RPG | 36 | 1 | 360 | ||
Knife | 4 | 335 | Flamethrower | 37 | 50 | 361 | ||
Baseball Bat | 5 | 336 | Minigun | 38 | 500 | 362 | ||
Shovel | 6 | 337 | Slot 8: Projectiles | |||||
Pool Cue | 7 | 338 | Grenade | 16 | 1 | 342 | ||
Katana | 8 | 339 | Tear Gas | 17 | 1 | 343 | ||
Chainsaw | 9 | 341 | Molotov Cocktails | 18 | 1 | 344 | ||
Slot 2: Handguns | Satchel Charges | 39 | 1 | 363 | ||||
Pistol | 22 | 17 (34) | 346 | Slot 9: Special 1 | ||||
Silenced Pistol | 23 | 17 | 347 | Spraycan | 41 | 500 | 365 | |
Desert Eagle | 24 | 7 | 348 | Fire Extinguisher | 42 | 500 | 366 | |
Slot 3: Shotguns | Camera | 43 | 36 | 367 | ||||
Shotgun | 25 | 1 | 349 | Slot 10: Gifts/Other | ||||
Sawn-Off Shotgun | 26 | 2 (4) | 350 | Long Purple Dildo | 10 | 321 | ||
SPAZ-12 Combat Shotgun | 27 | 7 | 351 | Short tan Dildo | 11 | 322 | ||
Slot 4: Sub-Machine Guns | Vibrator | 12 | 323 | |||||
Uzi | 28 | 50 (100) | 352 | Flowers | 14 | 325 | ||
MP5 | 29 | 30 | 353 | Cane | 15 | 326 | ||
TEC-9 | 32 | 50 (100) | 372 | Slot 11: Special 2 | ||||
Slot 5: Assault Rifles | Night-Vision Goggles | 44 | 368 | |||||
AK-47 | 30 | 30 | 355 | Infrared Goggles | 45 | 369 | ||
M4 | 31 | 50 | 356 | Parachute | 46 | 371 | ||
Slot 12: Satchel Detonator | ||||||||
Satchel Detonator | 40 | 364 |