• Halo outlines for players current model (prophunt clone)
    0 replies, posted
Hey guys. I've added halo effects for props in my prophunt clone, to let them easily see where other player props are so they don't stack up too much. The problem is, of course, that I can't get the outline to be around the model the player is, it is always the default model and its animations. I've spent some time googling about this, reading the wiki and searching around here but I cannot seem to find any way of passing that particular shape or deriving it from the player entity. Is there any way you guys can help out, is it even possible? :o. What I use is simply: [CODE] local teamList = {} for k, v in pairs(player.GetAll() ) do if v:Team() == LocalPlayer():Team() then table.insert(teamList, v) end end halo.Add(teamList, team.GetColor(LocalPlayer():Team()), 0, 0, 2, true, true) [/CODE]
Sorry, you need to Log In to post a reply to this thread.