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