samp.directory
← IDs and reference

Weapon IDs

Every weapon with the constant scripts use, the slot it takes and its model ID. The last rows are death reasons, not weapons you can give.

52 shown

IDNameSlot
0Fist0
1Brass Knuckles0
2Golf Club1
3Nightstick1
4Knife1
5Baseball Bat1
6Shovel1
7Pool Cue1
8Katana1
9Chainsaw1
10Purple Dildo10
11Dildo10
12Vibrator10
13Silver Vibrator10
14Flowers10
15Cane10
16Grenade8
17Tear Gas8
18Molotov Cocktail8
22Colt 452
23Silenced Pistol2
24Desert Eagle2
25Shotgun3
26Sawn-off Shotgun3
27Combat Shotgun3
28Micro Uzi4
29MP54
30AK-475
31M45
32Tec-94
33Country Rifle6
34Sniper Rifle6
35Rocket Launcher7
36Heat-Seeking Rocket Launcher7
37Flamethrower7
38Minigun7
39Satchel Charge8
40Detonator12
41Spray Can9
42Fire Extinguisher9
43Camera9
44Night Vision Goggles11
45Thermal Goggles11
46Parachute11
49Vehicle–
50Helicopter Blades–
51Explosion–
53Drowned–
54Splat–
200Connect–
201Disconnect–
255Suicide–

Using these in a script

Use the ID or the constant with GivePlayerWeapon, for example GivePlayerWeapon(playerid, WEAPON_DEAGLE, 100). A player holds one weapon per slot, so giving a second weapon from the same slot replaces the first.

Names and IDs are read from the game’s own data files. Game images belong to Rockstar Games and are shown for reference.

SA-MP weapon IDs: constants, slots and models | samp.directory