17 lines
323 B
Lua
17 lines
323 B
Lua
AddCSLuaFile()
|
|
|
|
ENT.Type = "anim"
|
|
ENT.Base = "status__base"
|
|
|
|
function ENT:Initialize()
|
|
self.BaseClass.Initialize(self)
|
|
|
|
hook.Add("Move", self, self.Move)
|
|
end
|
|
|
|
function ENT:Move(pl, move)
|
|
if pl ~= self:GetOwner() then return end
|
|
|
|
move:SetMaxSpeed(move:GetMaxSpeed() + 50)
|
|
move:SetMaxClientSpeed(move:GetMaxSpeed())
|
|
end
|