πŸ”—builderx.pl.ondamage

πŸŸ₯ π—¦π—˜π—₯π—©π—˜π—₯

builderx.pl.ondamage( ᡖˑᡃʸᡉʳ attacker, ᡖˑᡃʸᡉʳ victim, βΏα΅˜α΅α΅‡α΅‰Κ³ damage)

β–Έ Parameters

ply attacker player object (player doing damage)

ply victim player object (player injured)

int damage returns total damage attacker has done in build mode

β–Έ Description

Runs when player in build mode deals damage to another player (or kills).

Will not run if block damage settings enabled because there won't be damage to report.

β–Έ Example

local function your_hook( attacker, victim, damage )

    // your custom hook function here

end
hook.Add( 'builderx.pl.ondamage', 'your_hook_id', your_hook )

Last updated