Weapons

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:54, 20 January 2020
OstGot (Talk | contribs)

← Previous diff
Current revision
OstGot (Talk | contribs)

Line 70: Line 70:
|[[Image:Weapon-25-hd.png|50px]]<br />Shotgun||[[Image:Weapon-25.gif]]||WEAPON_SHOTGUN||25||3||349||1||Yes||Skill can be set with [[SetPlayerSkillLevel]] |[[Image:Weapon-25-hd.png|50px]]<br />Shotgun||[[Image:Weapon-25.gif]]||WEAPON_SHOTGUN||25||3||349||1||Yes||Skill can be set with [[SetPlayerSkillLevel]]
|- |-
-|[[Image:Weapon-26-hd.png|50px]]<br />Sawnoff Shotgun||[[Image:Weapon-26.gif]]||WEAPON_SAWEDOFF||26||3||350||Yes||2 (4 for dual gun)||Skill can be set with [[SetPlayerSkillLevel]]+|[[Image:Weapon-26-hd.png|50px]]<br />Sawnoff Shotgun||[[Image:Weapon-26.gif]]||WEAPON_SAWEDOFF||26||3||350||2 (4 for dual gun)||Yes||Skill can be set with [[SetPlayerSkillLevel]]
|- |-
|[[Image:Weapon-27-hd.png|50px]]<br />Combat Shotgun||[[Image:Weapon-27.gif]]||WEAPON_SHOTGSPA||27||3||351||7||Yes||Skill can be set with [[SetPlayerSkillLevel]] |[[Image:Weapon-27-hd.png|50px]]<br />Combat Shotgun||[[Image:Weapon-27.gif]]||WEAPON_SHOTGSPA||27||3||351||7||Yes||Skill can be set with [[SetPlayerSkillLevel]]
|- |-
-|[[Image:Weapon-28-hd.png|50px]]<br />Micro SMG/Uzi||[[Image:Weapon-28.gif]]||WEAPON_UZI||28||4||352||Yes||50 (100 for dual gun)||Skill can be set with [[SetPlayerSkillLevel]]+|[[Image:Weapon-28-hd.png|50px]]<br />Micro SMG/Uzi||[[Image:Weapon-28.gif]]||WEAPON_UZI||28||4||352||50 (100 for dual gun)||Yes||Skill can be set with [[SetPlayerSkillLevel]]
|- |-
|[[Image:Weapon-29-hd.png|50px]]<br />MP5||[[Image:Weapon-29.gif]]||WEAPON_MP5||29||4||353||30||Yes||Skill can be set with [[SetPlayerSkillLevel]] |[[Image:Weapon-29-hd.png|50px]]<br />MP5||[[Image:Weapon-29.gif]]||WEAPON_MP5||29||4||353||30||Yes||Skill can be set with [[SetPlayerSkillLevel]]
Line 82: Line 82:
|[[Image:Weapon-31-hd.png|50px]]<br />M4||[[Image:Weapon-31.gif]]||WEAPON_M4||31||5||356||50||Yes||Skill can be set with [[SetPlayerSkillLevel]] |[[Image:Weapon-31-hd.png|50px]]<br />M4||[[Image:Weapon-31.gif]]||WEAPON_M4||31||5||356||50||Yes||Skill can be set with [[SetPlayerSkillLevel]]
|- |-
-|[[Image:Weapon-32-hd.png|50px]]<br />Tec-9||[[Image:Weapon-32.gif]]||WEAPON_TEC9||32||4||372||Yes||50 (100 for dual gun)||Skill can be set with [[SetPlayerSkillLevel]]+|[[Image:Weapon-32-hd.png|50px]]<br />Tec-9||[[Image:Weapon-32.gif]]||WEAPON_TEC9||32||4||372||50 (100 for dual gun)||Yes||Skill can be set with [[SetPlayerSkillLevel]]
|- |-
|[[Image:Weapon-33-hd.png|50px]]<br />Country Rifle||[[Image:Weapon-33.gif]]||WEAPON_RIFLE||33||6||357||1||No||Skill can be set with [[SetPlayerSkillLevel]] |[[Image:Weapon-33-hd.png|50px]]<br />Country Rifle||[[Image:Weapon-33.gif]]||WEAPON_RIFLE||33||6||357||1||No||Skill can be set with [[SetPlayerSkillLevel]]

Current revision


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

Clip size

Interchangeable slot ammo

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_KNIFE41335--Can 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_KATANA81339--Can 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_GRENADE1683421NoDoes not produce fire

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

Molotov Cocktail
Image:Weapon-18.gifWEAPON_MOLTOV1883441NoProduces fire

9mm
Image:Weapon-22.gifWEAPON_COLT4522234617 (34 for dual gun)NoSkill can be set with SetPlayerSkillLevel

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

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

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

Sawnoff Shotgun
Image:Weapon-26.gifWEAPON_SAWEDOFF2633502 (4 for dual gun)YesSkill can be set with SetPlayerSkillLevel

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

Micro SMG/Uzi
Image:Weapon-28.gifWEAPON_UZI28435250 (100 for dual gun)YesSkill can be set with SetPlayerSkillLevel

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

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

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

Tec-9
Image:Weapon-32.gifWEAPON_TEC932437250 (100 for dual gun)YesSkill can be set with SetPlayerSkillLevel

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

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

RPG
Image:Weapon-35.gifWEAPON_ROCKETLAUNCHER3573591No

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

Flamethrower
Image:Weapon-37.gifWEAPON_FLAMETHROWER377361500 (shows in game as 50)NoThis is used by a damage by fire, even when the fire is created by a rocket explosion or a molotov

Minigun
Image:Weapon-38.gifWEAPON_MINIGUN387362500No

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

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

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

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

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

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

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

Parachute
Image:Weapon-46.gifWEAPON_PARACHUTE4611371--Players 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
----370--Doesn't work as a weapon. See SetPlayerSpecialAction.

Skateboard
-------Cut from the game.
-
Vehicle
Image:Weapon-49.gifWEAPON_VEHICLE49N/AN/A--Only a damage/death reason, can not be used in GivePlayerWeapon etc.
-
Helicopter Blades
Image:Weapon-50.gif-50N/AN/A--Only a damage/death reason, can not be used in GivePlayerWeapon etc.
-
Explosion
Image:Weapon-51.gif-51N/AN/A--Only a damage/death reason, can not be used in GivePlayerWeapon etc. But this may sometimes be used at an indirect damage through an exploding rocket or grenade
-
Drowned
Image:Weapon-53.gifWEAPON_DROWN53N/AN/A--Only a damage/death reason, can not be used in GivePlayerWeapon etc.
-
Splat
Image:Weapon-54.gifWEAPON_COLLISION54N/AN/A--Only a death reason, can not be used in GivePlayerWeapon etc.
-
Connect
Image:Weapon-200.gif-200N/AN/A--Only usable in SendDeathMessage
-
Disconnect
Image:Weapon-201.gif-201N/AN/A--Only usable in SendDeathMessage
-
Suicide
Image:Weapon-53.gif-255N/AN/A--Only a death reason, can not be used in GivePlayerWeapon etc.
Personal tools