Reference/Server_constants/Weapons_and_death_reasons

ConstantValueMeaning
WEP_FIST0Fists
WEP_BAT1Baseball bat
WEP_COLT452Colt 45 pistol
WEP_UZI3Uzi
WEP_SHOTGUN4Shotgun
WEP_AK475AK-47
WEP_M166M16
WEP_SNIPER7Sniper rifle
WEP_ROCKETLAUNCHER8Rocket launcher
WEP_FLAMETHROWER9Flamethrower
WEP_MOLOTOV10Molotov cocktail
WEP_GRENADE11Grenade
WEP_BOMB12Detonator (remote bomb)
WEP_VEHICLE16Death reason: run over/rammed
WEP_EXPLOSION18Death reason: explosion
WEP_DROWNED20Death reason: drowned
WEP_FALL21Death reason: fall damage
NoteA character holds 13 weapon slots, so the ids you can give with SetWeapon are 0-12. 16 and above are only meaningful as *death reasons*.
Categories: Server constants