Table of Contents

Enum PlayerWeapon

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the weapons a player can use in the game.

public enum PlayerWeapon
Extension Methods

Fields

AK47 = 30

The AK-47 weapon.

Bat = 5

The baseball bat weapon.

Bomb = 40

The bomb weapon.

BrassKnuckle = 1

The brass knuckle weapon.

Camera = 43

The camera weapon.

Cane = 15

The cane weapon.

Chainsaw = 9

The chainsaw weapon.

Collision = 54

The collision weapon, used for collision-related damage.

Colt45 = 22

The Colt .45 weapon.

Deagle = 24

The Desert Eagle weapon.

Dildo = 10

The first dildo weapon.

Dildo2 = 11

The second dildo weapon.

Drown = 53

The drowning weapon, used for drowning-related damage.

End = 55

The end of the weapon list.

Explosion = 51

The explosion weapon.

FireExtinguisher = 42

The fire extinguisher weapon.

Fist = 0

The player is unarmed and using fists.

FlameThrower = 37

The flamethrower weapon.

Flower = 14

The flower weapon.

GolfClub = 2

The golf club weapon.

Grenade = 16

The grenade weapon.

HeatSeeker = 36

The heat-seeking rocket launcher weapon.

Heliblades = 50

The helicopter blades weapon.

Katana = 8

The katana weapon.

Knife = 4

The knife weapon.

M4 = 31

The M4 weapon.

MP5 = 29

The MP5 weapon.

Minigun = 38

The minigun weapon.

Moltov = 18

The Molotov cocktail weapon.

Night_Vis_Goggles = 44

The night vision goggles.

NiteStick = 3

The nightstick weapon.

Parachute = 46

The parachute.

PoolStick = 7

The pool stick weapon.

Rifle = 33

The rifle weapon.

RocketLauncher = 35

The rocket launcher weapon.

Satchel = 39

The satchel charge weapon.

Sawedoff = 26

The sawed-off shotgun weapon.

Shotgspa = 27

The SPAS-12 shotgun weapon.

Shotgun = 25

The shotgun weapon.

Shovel = 6

The shovel weapon.

Silenced = 23

The silenced pistol weapon.

Sniper = 34

The sniper rifle weapon.

SprayCan = 41

The spray can weapon.

TEC9 = 32

The TEC-9 weapon.

Teargas = 17

The tear gas weapon.

Thermal_Goggles = 45

The thermal goggles.

UZI = 28

The UZI weapon.

Vehicle = 49

The vehicle weapon, used for vehicle-related damage.

Vibrator = 12

The first vibrator weapon.

Vibrator2 = 13

The second vibrator weapon.