Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function hide()
- for k , v in pairs ( player.GetAll() ) do
- if GetConVarNumber("hideviewmodels") == 1 then
- v:DrawViewModel(false)
- else if
- GetConVarNumber("hideviewmodels") == 0 then
- v:DrawViewModel(true)
- end
- end
- end
- end
- hook.Add("HUDPaint", "hide", hide )
- CreateClientConVar("hideviewmodels", 1, true, false )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement