https://umod.org/documentation/games/rust#onplayerattack
it should be instead:
it should be instead:
object OnPlayerAttack(BasePlayer attacker, HitInfo info)
{
Puts("OnPlayerAttack works!");
return null;
}