Weapons

From SA-MP Wiki

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

← Previous diff
Revision as of 13:52, 20 January 2020
OstGot (Talk | contribs)

Next diff →
Line 121: Line 121:
| -<br />Helicopter Blades||[[Image:Weapon-50.gif]]||-||50||N/A||[[Vehicles:Helicopters|N/A]]||-||Only a death icon, can not be used in [[GivePlayerWeapon]] etc. | -<br />Helicopter Blades||[[Image:Weapon-50.gif]]||-||50||N/A||[[Vehicles:Helicopters|N/A]]||-||Only a death icon, can not be used in [[GivePlayerWeapon]] etc.
|- |-
-| -<br />Explosion||[[Image:Weapon-51.gif]]||-||51||N/A||N/A||-||Only a death icon, can not be used in [[GivePlayerWeapon]] etc.+| -<br />Explosion||[[Image:Weapon-51.gif]]||-||51||N/A||N/A||-||Only a death icon, can not be used in [[GivePlayerWeapon]] etc. But this may sometimes also be used at an indirect damage through an exploding rocket
|- |-
| -<br />Drowned||[[Image:Weapon-53.gif]]||WEAPON_DROWN||53||N/A||N/A||-||Only a death icon, can not be used in [[GivePlayerWeapon]] etc. | -<br />Drowned||[[Image:Weapon-53.gif]]||WEAPON_DROWN||53||N/A||N/A||-||Only a death icon, can not be used in [[GivePlayerWeapon]] etc.

Revision as of 13:52, 20 January 2020


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

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_GRENADE1683421Does not produce fire

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

Molotov Cocktail
Image:Weapon-18.gifWEAPON_MOLTOV1883441Produces fire

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

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

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

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

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

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

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

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

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

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

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

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

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

RPG
Image:Weapon-35.gifWEAPON_ROCKETLAUNCHER3573591

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

Flamethrower
Image:Weapon-37.gifWEAPON_FLAMETHROWER377361500 (shows in game as 50)This 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_MINIGUN387362500

Satchel Charge
Image:Weapon-39.gifWEAPON_SATCHEL3983631Only 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_SPRAYCAN419365500Players that are sprayed choke

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

Camera
Image:Weapon-43.gifWEAPON_CAMERA43936736Saves 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 death icon, can not be used in GivePlayerWeapon etc.
-
Helicopter Blades
Image:Weapon-50.gif-50N/AN/A-Only a death icon, can not be used in GivePlayerWeapon etc.
-
Explosion
Image:Weapon-51.gif-51N/AN/A-Only a death icon, can not be used in GivePlayerWeapon etc. But this may sometimes also be used at an indirect damage through an exploding rocket
-
Drowned
Image:Weapon-53.gifWEAPON_DROWN53N/AN/A-Only a death icon, can not be used in GivePlayerWeapon etc.
-
Splat
Image:Weapon-54.gifWEAPON_COLLISION54N/AN/A-Only a death icon, 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 icon, can not be used in GivePlayerWeapon etc.
Personal tools