• Help
    0 replies, posted
Hi, I was coding my addon but halos you see even on the player, how can I do to show them only on the ground and not on the players? hook.Add( "PreDrawHalos", "AddPropHalos", function() if GetConVar("lst_objoutline"):GetInt() == 1 then  halo.Add( ents.FindByClass( "khr_*" ), Color( 50, 250, 180 ), 3, 3, 1 ) halo.Add( ents.FindByClass( "cw_*" ), Color( 50, 250, 180 ), 3, 3, 1 ) halo.Add( ents.FindByClass( "weapon_*" ), Color( 50, 250, 180 ), 3, 3, 1 ) halo.Add( ents.FindByClass( "sg_*" ), Color( 50, 250, 180 ), 3, 3, 1 ) halo.Add( ents.FindByClass( "kevlar_*" ), Color( 50, 250, 180 ), 3, 3, 1 ) halo.Add( ents.FindByClass( "suit_*" ), Color( 50, 250, 180 ), 3, 3, 1 ) halo.Add( ents.FindByClass( "rust_*" ), Color( 50, 250, 180 ), 3, 3, 1 ) end end )
Sorry, you need to Log In to post a reply to this thread.