From 6107509bb7d38d2808ec9041edf6e4b83e5b2620 Mon Sep 17 00:00:00 2001 From: mrx Date: Tue, 30 Jun 2026 23:30:40 -0300 Subject: [PATCH] Fix: Complete eWeaponType enum with death causes --- plugin_sa/game_sa/enums/eWeaponType.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/plugin_sa/game_sa/enums/eWeaponType.h b/plugin_sa/game_sa/enums/eWeaponType.h index 10a8a03d1..a48e60498 100644 --- a/plugin_sa/game_sa/enums/eWeaponType.h +++ b/plugin_sa/game_sa/enums/eWeaponType.h @@ -57,5 +57,16 @@ enum eWeaponType : unsigned int WEAPONTYPE_PARACHUTE = 0x2E, WEAPONTYPE_UNUSED = 0x2F, WEAPONTYPE_ARMOUR = 0x30, - WEAPONTYPE_FLARE = 0x3A -}; \ No newline at end of file + + // these are possible ways to die + WEAPONTYPE_RAMMEDBYCAR = 0x31, + WEAPONTYPE_RUNOVERBYCAR = 0x32, + WEAPONTYPE_EXPLOSION = 0x33, + WEAPONTYPE_UZI_DRIVEBY = 0x34, + WEAPONTYPE_DROWNING = 0x35, + WEAPONTYPE_FALL = 0x36, + WEAPONTYPE_UNIDENTIFIED = 0x37, // Used for damage being done + WEAPONTYPE_ANYMELEE = 0x38, + WEAPONTYPE_ANYWEAPON = 0x39, + WEAPONTYPE_FLARE = 0x3A +};