Weapons

From SA-MP Wiki

(Redirected from Weapon IDs)
Jump to: navigation, search


To be used with a range of weapon functions. OnPlayerDeath, GivePlayerWeapon and SendDeathMessage are most relevant to this list.

Weapons in GTA San Andreas

Hud Icon

Death reason

Definition

ID

Slot

Model

Notes


Fist
Image:Weapon-0.gif-00-

Brass Knuckles
Image:Weapon-1.gifWEAPON_BRASSKNUCKLE10331

Golf Club
Image:Weapon-2.gifWEAPON_GOLFCLUB21333

Nightstick
Image:Weapon-3.gifWEAPON_NITESTICK31334

Knife
Image:Weapon-4.gifWEAPON_KNIFE41335Can de-sync players when their throat is cut (they appear dead to other players)

Baseball Bat
Image:Weapon-5.gifWEAPON_BAT51336

Shovel
Image:Weapon-6.gifWEAPON_SHOVEL61337

Pool Cue
Image:Weapon-7.gifWEAPON_POOLSTICK71338

Katana
Image:Weapon-8.gifWEAPON_KATANA81339Can not decapitate players (like in single-player)

Chainsaw
Image:Weapon-9.gifWEAPON_CHAINSAW91341

Purple Dildo
Image:Weapon-10.gifWEAPON_DILDO1010321

Dildo
Image:Weapon-11.gifWEAPON_DILDO21110322

Vibrator
Image:Weapon-12.gifWEAPON_VIBRATOR1210323

Silver Vibrator
Image:Weapon-13.gifWEAPON_VIBRATOR21310324

Flowers
Image:Weapon-14.gifWEAPON_FLOWER1410325

Cane
Image:Weapon-15.gifWEAPON_CANE1510326

Grenade
Image:Weapon-16.gifWEAPON_GRENADE168342Does not produce fire

Tear Gas
Image:Weapon-17.gifWEAPON_TEARGAS178343The coughing effect is disabled in SA-MP

Molotov Cocktail
Image:Weapon-18.gifWEAPON_MOLTOV188344Produces fire

9mm
Image:Weapon-22.gifWEAPON_COLT45222346Skill can be set with SetPlayerSkillLevel

Silenced 9mm
Image:Weapon-23.gifWEAPON_SILENCED232347Skill can be set with SetPlayerSkillLevel

Desert Eagle
Image:Weapon-24.gifWEAPON_DEAGLE242348Skill can be set with SetPlayerSkillLevel

Shotgun
Image:Weapon-25.gifWEAPON_SHOTGUN253349Skill can be set with SetPlayerSkillLevel

Sawnoff Shotgun
Image:Weapon-26.gifWEAPON_SAWEDOFF263350Skill can be set with SetPlayerSkillLevel

Combat Shotgun
Image:Weapon-27.gifWEAPON_SHOTGSPA273351Skill can be set with SetPlayerSkillLevel

Micro SMG/Uzi
Image:Weapon-28.gifWEAPON_UZI284352Skill can be set with SetPlayerSkillLevel

MP5
Image:Weapon-29.gifWEAPON_MP5294353Skill can be set with SetPlayerSkillLevel

AK-47
Image:Weapon-30.gifWEAPON_AK47305355Skill can be set with SetPlayerSkillLevel

M4
Image:Weapon-31.gifWEAPON_M4315356Skill can be set with SetPlayerSkillLevel

Tec-9
Image:Weapon-32.gifWEAPON_TEC9324372Skill can be set with SetPlayerSkillLevel

Country Rifle
Image:Weapon-33.gifWEAPON_RIFLE336357Skill can be set with SetPlayerSkillLevel

Sniper Rifle
Image:Weapon-34.gifWEAPON_SNIPER346358Skill can be set with SetPlayerSkillLevel

RPG
Image:Weapon-35.gifWEAPON_ROCKETLAUNCHER357359

HS Rocket
Image:Weapon-36.gifWEAPON_HEATSEEKER367360Lock-on is not synced

Flamethrower
Image:Weapon-37.gifWEAPON_FLAMETHROWER377361

Minigun
Image:Weapon-38.gifWEAPON_MINIGUN387362

Satchel Charge
Image:Weapon-39.gifWEAPON_SATCHEL398363Only synced for players that were streamed-in when the satchels were thrown

Detonator
Image:Weapon-40.gifWEAPON_BOMB4012364Given automatically when players throw a satchel charge (omit from anti-cheat checks)

Spraycan
Image:Weapon-41.gifWEAPON_SPRAYCAN419365Players that are sprayed choke

Fire Extinguisher
Image:Weapon-42.gifWEAPON_FIREEXTINGUISHER429366Players that are sprayed choke

Camera
Image:Weapon-43.gifWEAPON_CAMERA439367Saves photos to player's gallery if enabled via pause menu (My Documents\GTA San Andreas User Files\Gallery)

Night Vis Goggles
Image:Weapon-45.gif-4411368Visual effects show for all players (fix available)

Thermal Goggles
Image:Weapon-45.gif-4511369Visual effects show for all players (fix available)

Parachute
Image:Weapon-46.gifWEAPON_PARACHUTE4611371Players will die if teleported while diving with a parachute (can be fixed using ResetPlayerWeapons).

Parachutes are given when bailing out of aircraft. (omit from anti-cheat checks)


Cellphone
-----Cut from the game.

Jetpack
----370Doesn't work as a weapon. See SetPlayerSpecialAction.

Skateboard
-----Cut from the game.
-
Fake Pistol
Image:Weapon-47.gif-47N/AN/A?
-
Vehicle
Image:Weapon-49.gifWEAPON_VEHICLE49N/AN/AOnly a death icon, can not be used in GivePlayerWeapon etc.
-
Helicopter Blades
Image:Weapon-50.gif-50N/AN/AOnly a death icon, can not be used in GivePlayerWeapon etc.
-
Explosion
Image:Weapon-51.gif-51N/AN/AOnly a death icon, can not be used in GivePlayerWeapon etc.
-
Drowned
Image:Weapon-53.gifWEAPON_DROWN53N/AN/AOnly a death icon, can not be used in GivePlayerWeapon etc.
-
Splat
Image:Weapon-54.gifWEAPON_COLLISION54N/AN/AOnly a death icon, can not be used in GivePlayerWeapon etc.
-
Connect
Image:Weapon-200.gif-200N/AN/AOnly usable in SendDeathMessage
-
Disconnect
Image:Weapon-201.gif-201N/AN/AOnly usable in SendDeathMessage
-
Suicide
Image:Weapon-53.gif-255N/AN/AOnly a death icon, can not be used in GivePlayerWeapon etc.
Personal tools
Navigation
Toolbox