Guest User

Untitled

a guest
Jun 13th, 2019
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.24 KB | None | 0 0
  1. hook.Add ('HUDPaint', 'Time2DrawSumCheats', function ()
  2.     for k, v in pairs (ents.GetAll ()) do
  3.         local Position = (v:GetPos () + Vector (0, 0, 0)):ToScreen ()
  4.         local EntName  = v:GetClass ()
  5.  
  6.         local FFConv = CreateClientConVar ('hv_show_forcefield'    , 0, true, true, 'Should HelixVision show forcefields?'     )
  7.         local VMConv = CreateClientConVar ('hv_show_vendingmachine', 0, true, true, 'Should HelixVision show vending machines?')
  8.         local MConv  = CreateClientConVar ('hv_show_money'         , 0, true, true, 'Should HelixVision show money?'           )
  9.         local VConv  = CreateClientConVar ('hv_show_vendor'        , 0, true, true, 'Should HelixVision show vendors?'         )
  10.         local IConv  = CreateClientConVar ('hv_show_item'          , 1, true, true, 'Should HelixVision show items?'           )
  11.  
  12.         if EntName == 'ix_vendingmachine' and ConVarExists('hv_show_vendingmachine') and GetConVar('hv_show_vendingmachine'):GetInt() == 1 then
  13.             draw.DrawText ('Vending Machine', 'ChatFont', Position.x, Position.y, Color( 161, 0, 255, 255 ), 1 )
  14.         end
  15.         if EntName == 'ix_forcefield' and ConVarExists('hv_show_forcefield') and GetConVar('hv_show_forcefield'):GetInt() == 1 then
  16.             draw.DrawText ('Forcefield', 'ChatFont', Position.x, Position.y, Color( 0, 199, 255, 255 ), 1 )
  17.         end
  18.         if EntName == 'ix_money' and ConVarExists('hv_show_money') and GetConVar('hv_show_money'):GetInt() == 1 then
  19.             draw.DrawText ('Cash', 'ChatFont', Position.x, Position.y, Color( 187, 255, 0, 255 ), 1 )
  20.         end
  21.         if EntName == 'ix_vendor' and ConVarExists('hv_show_vendor') and GetConVar('hv_show_vendor'):GetInt() == 1 then
  22.             draw.DrawText ('Vendor: '.. v:GetDisplayName(), 'ChatFont', Position.x, Position.y, Color( 0, 255, 0, 255 ), 1 )
  23.         end
  24.         if EntName == 'ix_item' and ConVarExists('hv_show_item') and GetConVar('hv_show_item'):GetInt() == 1 then
  25.             draw.DrawText (v:GetItemTable().name, 'ChatFont', Position.x, Position.y, Color( 255,0,8, 255 ), 1 )
  26.         end
  27.  
  28.         if game.GetIPAddress () == '54.36.226.201:27022' then
  29.             MsgC (Color (255, 0, 0, 255), ' ¢Ã¢€â­Â¢Ã†Ë©Â¢Ã¢€â®Â(-_-)¢Ã¢€â­Â¢Ã†Ë©Â¢Ã¢€â®Â ')
  30.             FFConv:SetInt (0)
  31.             VMConv:SetInt (0)
  32.             MConv:SetInt  (0)
  33.             VConv:SetInt  (0)
  34.             IConv:SetInt  (0)
  35.         end
  36.     end
  37. end)
Advertisement
Add Comment
Please, Sign In to add comment