Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. include('shared.lua')
  2.  
  3.  
  4. function ENT:Draw()
  5.  
  6. self:DrawModel()
  7.  
  8. end
  9.  
  10. hook.Add( "PreDrawHalos", "AddGlow", function()
  11.  
  12. halo.Add( ents.FindByClass("ttt_catnip"), Color( 153,51, 255 ), 2, 2, 2, true, false )
  13.  
  14. for k,v in ipairs(player.GetAll()) do
  15.  
  16. local target = {}
  17.  
  18. if v:GetNWBool("FoundCatnip") then
  19.  
  20. target[k] = v
  21.  
  22. halo.Add( target, Color( 153,51, 255 ), 5, 5, 2, true, true )
  23.  
  24. end
  25.  
  26. end
  27.  
  28. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement