π¦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