rg_is_player_can_takedamage

Syntax

native bool:rg_is_player_can_takedamage(const index, const attacker);

Usage

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