🟦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