Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions NETWORK/N_0x2da41ed6e1fcd7a5.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
ns: NETWORK
---
## _0x2DA41ED6E1FCD7A5

## NETWORK_GET_KILLER_OF_PLAYER
```c
// 0x2DA41ED6E1FCD7A5
Any _0x2DA41ED6E1FCD7A5(Any p0, int* TypeOfWeapon);
// 0x2DA41ED6E1FCD7A5 0xD109ACB1A444BD9D
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
* **p0**:
* **TypeOfWeapon**:
* **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.
Loading