diff --git a/NETWORK/N_0x2da41ed6e1fcd7a5.md b/NETWORK/N_0x2da41ed6e1fcd7a5.md deleted file mode 100644 index 6f0d49cf8..000000000 --- a/NETWORK/N_0x2da41ed6e1fcd7a5.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -ns: NETWORK ---- -## _0x2DA41ED6E1FCD7A5 - -```c -// 0x2DA41ED6E1FCD7A5 -Any _0x2DA41ED6E1FCD7A5(Any p0, int* TypeOfWeapon); -``` - - -## Parameters -* **p0**: -* **TypeOfWeapon**: - -## Return value diff --git a/NETWORK/NetworkGetKillerOfPlayer.md b/NETWORK/NetworkGetKillerOfPlayer.md new file mode 100644 index 000000000..44bca0656 --- /dev/null +++ b/NETWORK/NetworkGetKillerOfPlayer.md @@ -0,0 +1,19 @@ +--- +ns: NETWORK +aliases: ["0x2DA41ED6E1FCD7A5"] +--- + +## NETWORK_GET_KILLER_OF_PLAYER +```c +// 0x2DA41ED6E1FCD7A5 +Player NETWORK_GET_KILLER_OF_PLAYER(Player player, Hash* weaponHash); +``` + +Returns the killer of the specified player and the cause of death weapon hash. Returns `-1` if no killer is found. + +## Parameters +* **player**: The player who was killed. +* **weaponHash**: Pointer to receive the cause of death weapon hash. + +## Return value +The killer's `Player` ID, or `-1` if no valid killer.