mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33:02 +05:00
remove trailing whitespaces
This commit is contained in:
parent
53d03f2423
commit
9393b34d1e
1 changed files with 4 additions and 3 deletions
|
@ -281,15 +281,16 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd)
|
||||||
elseif kickglitch:GetBool() and not old_kickglitch:GetBool() then
|
elseif kickglitch:GetBool() and not old_kickglitch:GetBool() then
|
||||||
if SERVER then
|
if SERVER then
|
||||||
local platform = ents.Create("prop_physics")
|
local platform = ents.Create("prop_physics")
|
||||||
local pos = ply:GetPos()
|
|
||||||
|
|
||||||
|
local pos = ply:GetPos()
|
||||||
pos.z = pos.z - 8
|
pos.z = pos.z - 8
|
||||||
|
|
||||||
platform:SetModel("models/hunter/plates/plate1x1.mdl")
|
platform:SetModel("models/hunter/plates/plate1x1.mdl")
|
||||||
platform:SetPos(pos)
|
platform:SetPos(pos)
|
||||||
platform:SetColor(Color(0,0,0,0))
|
platform:SetColor(Color(0, 0, 0, 0))
|
||||||
platform:SetRenderMode(RENDERMODE_TRANSCOLOR)
|
platform:SetRenderMode(RENDERMODE_TRANSCOLOR)
|
||||||
platform:Spawn()
|
platform:Spawn()
|
||||||
|
|
||||||
local phys = platform:GetPhysicsObject()
|
local phys = platform:GetPhysicsObject()
|
||||||
phys:EnableMotion(false)
|
phys:EnableMotion(false)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue