🟦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