๐ŸŸฆAddDmg

๐—ฆ๐—›๐—”๐—ฅ๐—˜๐——

pl:AddDmg( โฟแต˜แตแต‡แต‰สณ damage)

โ–ธ Parameters

int damage amount of damage to add to existing amount

โ–ธ Description

Adds damage to a player's total damage dealt to other players while in Build Mode Used for the punishment system.

โ–ธ Example

local function punish_pl_hurt( pl, attk, hp, dmg )
    attk:AddDmg( dmg )
end
rhook.new.gmod( 'PlayerHurt', 'builderx_sv_punish_pl_hurt', punish_pl_hurt )

Last updated