πbuilderx.pl.ondamage
π₯ π¦ππ₯π©ππ₯
βΈ Parameters
βΈ Description
βΈ Example
local function your_hook( attacker, victim, damage )
// your custom hook function here
end
hook.Add( 'builderx.pl.ondamage', 'your_hook_id', your_hook )hook.Add( 'builderx.pl.ondamage', 'your_hook_id', function( attacker, victim, damage )
// your custom hook function here
end )local function your_hook( attacker, victim, damage )
print( attacker )
print( victim )
print( damage )
end
hook.Add( 'builderx.pl.ondamage', 'your_hook_id', your_hook )
-- print returns --
Player [1][player_name]
Player [3][Bot03]
19Last updated