rg_is_player_can_takedamage
Syntax
native bool:rg_is_player_can_takedamage(const index, const attacker);
Usage
| Parameter | Description |
|---|---|
| index | Client index |
| attacker | Attacker index |
Description
Checks whether the player can take damage from the attacker.
Return
true if player can take damage, false otherwise