Weapons: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Entirely redone into a small 2 column table)
mNo edit summary
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: 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.''
*''NOTES:
{|border="1" cellpadding="2" cellspacing="0" align="center"
**''(Dual) denotes clip size when the weapon is dual wielded. Weapons without this specification are not dual wield weapons.''
**''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="1" cellspacing="0" align="center"
|-
|-
|
|
! scope="col" style="background:#efefef;" | Weapon
! scope="col" style="background:#efefef;" | Weapon
! scope="col" style="background:#efefef;" | ID
! scope="col" style="background:#efefef;" | ID
! scope="col" style="background:#efefef;" | Clip Size
! scope="col" style="background:#efefef;" | Clip (Dual)
! scope="col" style="background:#efefef;" | Dual?
! scope="col" style="background:#efefef;" | Model ID
! scope="col" style="background:#efefef;" | Model ID
|
|
! scope="col" style="background:#efefef;" | Weapon
! scope="col" style="background:#efefef;" | Weapon
! scope="col" style="background:#efefef;" | ID
! scope="col" style="background:#efefef;" | ID
! scope="col" style="background:#efefef;" | Clip Size
! scope="col" style="background:#efefef;" | Clip (Dual)
! scope="col" style="background:#efefef;" | Dual?
! scope="col" style="background:#efefef;" | Model ID
! scope="col" style="background:#efefef;" | Model ID
|-
|-
Line 20: Line 20:
|Fist
|Fist
|0
|0
|N/A
|
|No
|
|N/A
! scope="row" style="background:#efefef;" | Slot 6: Rifles
! scope="row" style="background:#efefef;" | Slot 6: Rifles
|Country Rifle
|Country Rifle
|33
|33
|1
|1
|No
|357
|357
|-
|-
Line 33: Line 31:
|Brass Knuckles
|Brass Knuckles
|1
|1
|N/A
|
|No
|331
|331
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 40: Line 37:
|34
|34
|1
|1
|No
|358
|358
|-
|-
Line 46: Line 42:
|Golf Club
|Golf Club
|2
|2
|N/A
|
|No
|333
|333
! scope="row" style="background:#efefef;" | Slot 7: Heavy Weapons
! scope="row" style="background:#efefef;" | Slot 7: Heavy Weapons
Line 53: Line 48:
|35
|35
|1
|1
|No
|359
|359
|-
|-
Line 59: Line 53:
|Nightstick
|Nightstick
|3
|3
|N/A
|
|No
|334
|334
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 66: Line 59:
|36
|36
|1
|1
|No
|360
|360
|-
|-
Line 72: Line 64:
|Knife   
|Knife   
|4
|4
|N/A
|
|No
|335
|335
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 79: Line 70:
|37
|37
|50
|50
|No
|361
|361
|-
|-
Line 85: Line 75:
|Baseball Bat
|Baseball Bat
|5
|5
|N/A
|
|No
|336
|336
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 92: Line 81:
|38
|38
|500
|500
|No
 
|362
|362
|-
|-
Line 98: Line 87:
|Shovel  
|Shovel  
|6
|6
|N/A
|
|No
|337
|337
! scope="row" style="background:#efefef;" | Slot 8: Projectiles
! scope="row" style="background:#efefef;" | Slot 8: Projectiles
Line 105: Line 93:
|16
|16
|1
|1
|No
|342
|342
|-
|-
Line 111: Line 98:
|Pool Cue
|Pool Cue
|7
|7
|N/A
|
|No
|338
|338
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 118: Line 104:
|17
|17
|1
|1
|No
|343
|343
|-
|-
Line 124: Line 109:
|Katana  
|Katana  
|8
|8
|N/A
|
|No
|339
|339
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 131: Line 115:
|18
|18
|1
|1
|No
|344
|344
|-
|-
Line 137: Line 120:
|Chainsaw  
|Chainsaw  
|9
|9
|N/A
|
|No
|341
|341
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 144: Line 126:
|39
|39
|1
|1
|No
|363
|363
|-
|-
Line 151: Line 132:
|22
|22
|17 (34)
|17 (34)
|Yes
|346
|346
! scope="row" style="background:#efefef;" | Slot 9: Special 1
! scope="row" style="background:#efefef;" | Slot 9: Special 1
Line 157: Line 137:
|41
|41
|500
|500
|No
|365
|365
|-
|-
Line 164: Line 143:
|23
|23
|17
|17
|No
|347
|347
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 170: Line 148:
|42
|42
|500
|500
|No
|366
|366
|-
|-
Line 177: Line 154:
|24
|24
|7
|7
|No
|348
|348
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
Line 183: Line 159:
|43
|43
|36
|36
|No
|367
|367
|-
|-
Line 190: Line 165:
|25
|25
|1
|1
|No
|349
|349
! scope="row" style="background:#efefef;" | Slot 10: Gifts/Other
! scope="row" style="background:#efefef;" | Slot 10: Gifts/Other
|Long Purple Dildo
|Long Purple Dildo
|10
|10
|N/A
|
|No
|321
|321
|-
|-
Line 203: Line 176:
|26
|26
|2 (4)
|2 (4)
|Yes
|350
|350
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
|Short tan Dildo
|Short tan Dildo
|11
|11
|N/A
|
|No
|322
|322
|-
|-
Line 216: Line 187:
|27
|27
|7
|7
|No
|351
|351
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
|Vibrator  
|Vibrator  
|12
|12
|N/A
|
|No
|323
|323
|-
|-
Line 229: Line 198:
|28
|28
|50 (100)
|50 (100)
|Yes
|352
|352
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
|Flowers  
|Flowers  
|14
|14
|N/A
|
|No
|325
|325
|-
|-
Line 242: Line 209:
|29
|29
|30
|30
|No
|353
|353
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
|Cane  
|Cane  
|15
|15
|N/A
|
|No
|326
|326
|-
|-
Line 255: Line 220:
|32
|32
|50 (100)
|50 (100)
|Yes
|372
|372
! scope="row" style="background:#efefef;" | Slot 11: Special 2
! scope="row" style="background:#efefef;" | Slot 11: Special 2
|Night-Vision Goggles
|Night-Vision Goggles
|44
|44
|N/A
|
|No
|368
|368
|-
|-
Line 268: Line 231:
|30
|30
|30
|30
|No
|355
|355
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
|Infrared Goggles
|Infrared Goggles
|45
|45
|N/A
|
|No
|369
|369
|-
|-
Line 281: Line 242:
|31
|31
|50
|50
|No
|356
|356
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
|Parachute
|Parachute
|46
|46
|N/A
|
|No
|371
|371
|-
|-
! scope="row" style="background:#efefef;" |
! scope="row" style="background:#efefef;" |
|
|
|
|
|
Line 299: Line 257:
|Satchel Detonator
|Satchel Detonator
|40
|40
|N/A
|
|No
|364
|364
|}
|}

Revision as of 02:47, 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 (Dual) Model ID Weapon ID Clip (Dual) 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