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

15 lines
316 B
Lua
Raw Normal View History

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