Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add ('HUDPaint', 'Time2DrawSumCheats', function ()
- for k, v in pairs (ents.GetAll ()) do
- local Position = (v:GetPos () + Vector (0, 0, 0)):ToScreen ()
- local EntName = v:GetClass ()
- local FFConv = CreateClientConVar ('hv_show_forcefield' , 0, true, true, 'Should HelixVision show forcefields?' )
- local VMConv = CreateClientConVar ('hv_show_vendingmachine', 0, true, true, 'Should HelixVision show vending machines?')
- local MConv = CreateClientConVar ('hv_show_money' , 0, true, true, 'Should HelixVision show money?' )
- local VConv = CreateClientConVar ('hv_show_vendor' , 0, true, true, 'Should HelixVision show vendors?' )
- local IConv = CreateClientConVar ('hv_show_item' , 1, true, true, 'Should HelixVision show items?' )
- if EntName == 'ix_vendingmachine' and ConVarExists('hv_show_vendingmachine') and GetConVar('hv_show_vendingmachine'):GetInt() == 1 then
- draw.DrawText ('Vending Machine', 'ChatFont', Position.x, Position.y, Color( 161, 0, 255, 255 ), 1 )
- end
- if EntName == 'ix_forcefield' and ConVarExists('hv_show_forcefield') and GetConVar('hv_show_forcefield'):GetInt() == 1 then
- draw.DrawText ('Forcefield', 'ChatFont', Position.x, Position.y, Color( 0, 199, 255, 255 ), 1 )
- end
- if EntName == 'ix_money' and ConVarExists('hv_show_money') and GetConVar('hv_show_money'):GetInt() == 1 then
- draw.DrawText ('Cash', 'ChatFont', Position.x, Position.y, Color( 187, 255, 0, 255 ), 1 )
- end
- if EntName == 'ix_vendor' and ConVarExists('hv_show_vendor') and GetConVar('hv_show_vendor'):GetInt() == 1 then
- draw.DrawText ('Vendor: '.. v:GetDisplayName(), 'ChatFont', Position.x, Position.y, Color( 0, 255, 0, 255 ), 1 )
- end
- if EntName == 'ix_item' and ConVarExists('hv_show_item') and GetConVar('hv_show_item'):GetInt() == 1 then
- draw.DrawText (v:GetItemTable().name, 'ChatFont', Position.x, Position.y, Color( 255,0,8, 255 ), 1 )
- end
- if game.GetIPAddress () == '54.36.226.201:27022' then
- MsgC (Color (255, 0, 0, 255), ' ¢Ã¢€â¢Æ˩¢â€â®Â(-_-)¢Ã¢€â¢Æ˩¢â€â®Â ')
- FFConv:SetInt (0)
- VMConv:SetInt (0)
- MConv:SetInt (0)
- VConv:SetInt (0)
- IConv:SetInt (0)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment