🟦SetDmg
𝗦𝗛𝗔𝗥𝗘𝗗
pl:SetDmg(
ⁿᵘᵐᵇᵉʳ damage)
▸ Parameters
int
damage
amount of total damage to set for player
▸ Description
Sets a player's total damage dealt to other players while in Build Mode Used for the punishment system.
▸ Example
local function pl_onjoin( pl )
pl:SetDmg( 0 )
end
rhook.new.gmod( 'PlayerInitialSpawn', 'builderx_pl_join_init', pl_onjoin )
Last updated