Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
local function doScale(um)
|
||||
local ply = um:ReadEntity()
|
||||
local scale = um:ReadFloat()
|
||||
|
||||
if not IsValid(ply) then return end
|
||||
ply:SetModelScale(scale, 1)
|
||||
ply:SetHull(Vector(-16, -16, 0), Vector(16, 16, 72 * scale))
|
||||
end
|
||||
usermessage.Hook("darkrp_playerscale", doScale)
|
||||
Reference in New Issue
Block a user