Weapons: Difference between revisions
Jump to navigation
Jump to search
(Style changed) |
m (Am I getting paid for this? Okay, I'm done.) |
||
Line 6: | Line 6: | ||
{|border="1" cellpadding="1" cellspacing="0" align="center" | {|border="1" cellpadding="1" cellspacing="0" align="center" | ||
|- | |- | ||
! scope="col" style="background:# | | style="background:#afafaf;"| | ||
! scope="col" style="background:# | ! scope="col" style="background:#afafaf;"| Weapon | ||
! scope="col" style="background:# | ! scope="col" style="background:#afafaf;"| ID | ||
! scope="col" style="background:# | ! scope="col" style="background:#afafaf;"| Clip | ||
| style="background:# | ! scope="col" style="background:#afafaf;"| Model ID | ||
! scope="col" style="background:# | | style="background:#afafaf;"| | ||
! scope="col" style="background:# | ! scope="col" style="background:#afafaf;"| Weapon | ||
! scope="col" style="background:# | ! scope="col" style="background:#afafaf;"| ID | ||
! scope="col" style="background:# | ! scope="col" style="background:#afafaf;"| Clip | ||
! scope="col" style="background:#afafaf;"| Model ID | |||
|- | |- | ||
! scope="row" style="background:# | ! scope="row" style="background:#cfcfcf;"| Slot 0: No Weapon | ||
| | |style="background:#cfcfcf;"|Fist | ||
! scope="row" style="background:# | |style="background:#cfcfcf;"|0 | ||
|style="background:#cfcfcf;"| | |||
|style="background:#cfcfcf;"| | |||
! scope="row" style="background:#cfcfcf;"| Slot 6: Rifles | |||
|style="background:#cfcfcf;"|Country Rifle | |||
|style="background:#cfcfcf;"|33 | |||
|style="background:#cfcfcf;"|1 | |||
|style="background:#cfcfcf;"|357 | |||
|- | |- | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Brass Knuckles | ||
| | |style="background:#cfcfcf;"|1 | ||
| | |style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|331 | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Sniper Rifle | ||
|1 | |style="background:#cfcfcf;"|34 | ||
| | |style="background:#cfcfcf;"|1 | ||
|style="background:#cfcfcf;"|358 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| Slot 1: Melee | ||
| | |style="background:#efefef;"|Golf Club | ||
| | |style="background:#efefef;"|2 | ||
| | |style="background:#efefef;"| | ||
| | |style="background:#efefef;"|333 | ||
| | ! scope="row" style="background:#efefef;"| Slot 7: Heavy Weapons | ||
| | |style="background:#efefef;"|Rocket Launcher | ||
|1 | |style="background:#efefef;"|35 | ||
| | |style="background:#efefef;"|1 | ||
|style="background:#efefef;"|359 | |||
|- | |- | ||
! scope="row" style="background:# | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Nightstick | ||
! scope="row" style="background:# | |style="background:#efefef;"|3 | ||
|style="background:#efefef;"| | |||
|style="background:#efefef;"|334 | |||
! scope="row" style="background:#efefef;"| | |||
|style="background:#efefef;"|Heat-Seeking RPG | |||
|style="background:#efefef;"|36 | |||
|style="background:#efefef;"|1 | |||
|style="background:#efefef;"|360 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Knife | ||
| | |style="background:#efefef;"|4 | ||
| | |style="background:#efefef;"| | ||
| | |style="background:#efefef;"|335 | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Flamethrower | ||
| | |style="background:#efefef;"|37 | ||
| | |style="background:#efefef;"|50 | ||
|style="background:#efefef;"|361 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Baseball Bat | ||
| | |style="background:#efefef;"|5 | ||
| | |style="background:#efefef;"| | ||
| | |style="background:#efefef;"|336 | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Minigun | ||
| | |style="background:#efefef;"|38 | ||
| | |style="background:#efefef;"|500 | ||
|style="background:#efefef;"|362 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Shovel | ||
| | |style="background:#efefef;"|6 | ||
| | |style="background:#efefef;"| | ||
| | |style="background:#efefef;"|337 | ||
| | ! scope="row" style="background:#cfcfcf;"| Slot 8: Projectiles | ||
| | |style="background:#cfcfcf;"|Grenade | ||
| | |style="background:#cfcfcf;"|16 | ||
| | |style="background:#cfcfcf;"|1 | ||
|style="background:#cfcfcf;"|342 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Pool Cue | ||
| | |style="background:#efefef;"|7 | ||
| | |style="background:#efefef;"| | ||
| | |style="background:#efefef;"|338 | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Tear Gas | ||
| | |style="background:#cfcfcf;"|17 | ||
| | |style="background:#cfcfcf;"|1 | ||
|style="background:#cfcfcf;"|343 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Katana | ||
| | |style="background:#efefef;"|8 | ||
| | |style="background:#efefef;"| | ||
| | |style="background:#efefef;"|339 | ||
! scope="row" style="background:# | ! scope="row" style="background:#cfcfcf;"| | ||
|style="background:#cfcfcf;"|Molotov Cocktails | |||
|style="background:#cfcfcf;"|18 | |||
|style="background:#cfcfcf;"|1 | |||
|style="background:#cfcfcf;"|344 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Chainsaw | ||
| | |style="background:#efefef;"|9 | ||
| | |style="background:#efefef;"| | ||
| | |style="background:#efefef;"|341 | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Satchel Charges | ||
|1 | |style="background:#cfcfcf;"|39 | ||
| | |style="background:#cfcfcf;"|1 | ||
|style="background:#cfcfcf;"|363 | |||
|- | |- | ||
| | ! scope="row" style="background:#cfcfcf;"| Slot 2: Handguns | ||
| | |style="background:#cfcfcf;"|Pistol | ||
| | |style="background:#cfcfcf;"|22 | ||
| | |style="background:#cfcfcf;"|17 (34) | ||
| | |style="background:#cfcfcf;"|346 | ||
| | ! scope="row" style="background:#efefef;"| Slot 9: Special 1 | ||
| | |style="background:#efefef;"|Spraycan | ||
| | |style="background:#efefef;"|41 | ||
| | |style="background:#efefef;"|500 | ||
|style="background:#efefef;"|365 | |||
|- | |- | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Silenced Pistol | ||
| | |style="background:#cfcfcf;"|23 | ||
| | |style="background:#cfcfcf;"|17 | ||
| | |style="background:#cfcfcf;"|347 | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Fire Extinguisher | ||
| | |style="background:#efefef;"|42 | ||
| | |style="background:#efefef;"|500 | ||
|style="background:#efefef;"|366 | |||
|- | |- | ||
! scope="row" style="background:# | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Desert Eagle | ||
| | |style="background:#cfcfcf;"|24 | ||
| | |style="background:#cfcfcf;"|7 | ||
| | |style="background:#cfcfcf;"|348 | ||
| | ! scope="row" style="background:#efefef;"| | ||
|style="background:#efefef;"|Camera | |||
|style="background:#efefef;"|43 | |||
|style="background:#efefef;"|36 | |||
|style="background:#efefef;"|367 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| Slot 3: Shotguns | ||
| | |style="background:#efefef;"|Shotgun | ||
| | |style="background:#efefef;"|25 | ||
| | |style="background:#efefef;"|1 | ||
| | |style="background:#efefef;"|349 | ||
! scope="row" style="background:# | ! scope="row" style="background:#cfcfcf;"| Slot 10: Gifts/Other | ||
|style="background:#cfcfcf;"|Long Purple Dildo | |||
|style="background:#cfcfcf;"|10 | |||
|style="background:#cfcfcf;"| | |||
|style="background:#cfcfcf;"|321 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Sawn-Off Shotgun | ||
| | |style="background:#efefef;"|26 | ||
| | |style="background:#efefef;"|2 (4) | ||
| | |style="background:#efefef;"|350 | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Short tan Dildo | ||
| | |style="background:#cfcfcf;"|11 | ||
| | |style="background:#cfcfcf;"| | ||
|style="background:#cfcfcf;"|322 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|SPAZ-12 Combat Shotgun | ||
|7 | |style="background:#efefef;"|27 | ||
| | |style="background:#efefef;"|7 | ||
| | |style="background:#efefef;"|351 | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|Vibrator | ||
| | |style="background:#cfcfcf;"|12 | ||
| | |style="background:#cfcfcf;"| | ||
|style="background:#cfcfcf;"|323 | |||
|- | |- | ||
! scope="row" style="background:# | ! scope="row" style="background:#cfcfcf;"| Slot 4: Sub-Machine Guns | ||
| | |style="background:#cfcfcf;"|Uzi | ||
| | |style="background:#cfcfcf;"|28 | ||
| | |style="background:#cfcfcf;"|50 (100) | ||
| | |style="background:#cfcfcf;"|352 | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
|style="background:#cfcfcf;"|Flowers | |||
|style="background:#cfcfcf;"|14 | |||
|style="background:#cfcfcf;"| | |||
|style="background:#cfcfcf;"|325 | |||
|- | |- | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|MP5 | ||
| | |style="background:#cfcfcf;"|29 | ||
| | |style="background:#cfcfcf;"|30 | ||
| | |style="background:#cfcfcf;"|353 | ||
! scope="row" style="background:# | ! scope="row" style="background:#cfcfcf;"| | ||
|style="background:#cfcfcf;"|Cane | |||
|style="background:#cfcfcf;"|15 | |||
|style="background:#cfcfcf;"| | |||
|style="background:#cfcfcf;"|326 | |||
|- | |- | ||
| | ! scope="row" style="background:#cfcfcf;"| | ||
| | |style="background:#cfcfcf;"|TEC-9 | ||
| | |style="background:#cfcfcf;"|32 | ||
| | |style="background:#cfcfcf;"|50 (100) | ||
| | |style="background:#cfcfcf;"|372 | ||
| | ! scope="row" style="background:#efefef;"| Slot 11: Special 2 | ||
| | |style="background:#efefef;"|Night-Vision Goggles | ||
| | |style="background:#efefef;"|44 | ||
| | |style="background:#efefef;"| | ||
|style="background:#efefef;"|368 | |||
|- | |- | ||
| | ! scope="row" style="background:#efefef;"| Slot 5: Assault Rifles | ||
| | |style="background:#efefef;"|AK-47 | ||
| | |style="background:#efefef;"|30 | ||
| | |style="background:#efefef;"|30 | ||
| | |style="background:#efefef;"|355 | ||
| | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|Infrared Goggles | ||
| | |style="background:#efefef;"|45 | ||
| | |style="background:#efefef;"| | ||
|style="background:#efefef;"|369 | |||
|- | |- | ||
! scope="row" style="background:# | ! scope="row" style="background:#efefef;"| | ||
| | |style="background:#efefef;"|M4 | ||
| | |style="background:#efefef;"|31 | ||
| | |style="background:#efefef;"|50 | ||
| | |style="background:#efefef;"|356 | ||
| | ! scope="row" style="background:#efefef;"| | ||
|style="background:#efefef;"|Parachute | |||
|style="background:#efefef;"|46 | |||
|style="background:#efefef;"| | |||
|style="background:#efefef;"|371 | |||
|- | |- | ||
! scope="row" colspan="5" style="background:#efefef;"| | |||
! scope="row" style="background:#cfcfcf;"| Slot 12: Satchel Detonator | |||
|style="background:#cfcfcf;"|Satchel Detonator | |||
|style="background:#cfcfcf;"|40 | |||
|style="background:#cfcfcf;"| | |||
|style="background:#cfcfcf;"|364 | |||
! scope="row" style="background:# | |||
| | |||
! scope="row" style="background:# | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|364 | |||
|} | |} |
Revision as of 06:09, 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 | ID | Clip | Model ID | Weapon | ID | Clip | Model ID | ||
---|---|---|---|---|---|---|---|---|---|
Slot 0: No Weapon | Fist | 0 | Slot 6: Rifles | Country Rifle | 33 | 1 | 357 | ||
Brass Knuckles | 1 | 331 | Sniper Rifle | 34 | 1 | 358 | |||
Slot 1: Melee | Golf Club | 2 | 333 | Slot 7: Heavy Weapons | 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 | Grenade | 16 | 1 | 342 | ||
Pool Cue | 7 | 338 | Tear Gas | 17 | 1 | 343 | |||
Katana | 8 | 339 | Molotov Cocktails | 18 | 1 | 344 | |||
Chainsaw | 9 | 341 | Satchel Charges | 39 | 1 | 363 | |||
Slot 2: Handguns | Pistol | 22 | 17 (34) | 346 | Slot 9: Special 1 | Spraycan | 41 | 500 | 365 |
Silenced Pistol | 23 | 17 | 347 | Fire Extinguisher | 42 | 500 | 366 | ||
Desert Eagle | 24 | 7 | 348 | Camera | 43 | 36 | 367 | ||
Slot 3: Shotguns | Shotgun | 25 | 1 | 349 | Slot 10: Gifts/Other | Long Purple Dildo | 10 | 321 | |
Sawn-Off Shotgun | 26 | 2 (4) | 350 | Short tan Dildo | 11 | 322 | |||
SPAZ-12 Combat Shotgun | 27 | 7 | 351 | Vibrator | 12 | 323 | |||
Slot 4: Sub-Machine Guns | 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 | Night-Vision Goggles | 44 | 368 | ||
Slot 5: Assault Rifles | AK-47 | 30 | 30 | 355 | Infrared Goggles | 45 | 369 | ||
M4 | 31 | 50 | 356 | Parachute | 46 | 371 | |||
Slot 12: Satchel Detonator | Satchel Detonator | 40 | 364 |