zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_gigashadowchild/cl_init.lua

15 lines
316 B
Lua
Raw Permalink Normal View History

INC_CLIENT()
local render_SetBlend = render.SetBlend
local render_SetColorModulation = render.SetColorModulation
function SWEP:PreDrawViewModel(vm)
render_SetBlend(0.55)
render_SetColorModulation(0.1, 0.1, 0.1)
end
function SWEP:PostDrawViewModel(vm)
render_SetBlend(1)
render_SetColorModulation(1, 1, 1)
end