I am making an extention for E2, and its a holo-text extention, as in 3D2D, but the problem is that is renders only some of the time, and i cant understand the peramiters on which it DOES render...



Tell me what part of my code you need, because theres a lot of it. For starters, ill post my ENT:Draw() function
[highlight=lua]
function ENTraw()
cam.Start3D2D(Info["Position"],Info["Angle"],Info["Scale"])
draw.DrawText(Info["Text"],"DefaultFixedOutline",0,0,Info["Color"],1)
cam.End3D2D()
end
[/highlight]
All those are defined by:
[highlight=lua]
function ENT:Load()
Str = self.Entity:GetNetworkedString("wire_textholo")
Info = glon.decode(Str)
end
[/highlight]
and that is set by something in init.lua
[highlight=lua]
function ENT:send()
print("sv_send called")
self.Entity:SetNetworkedString("wire_textholo", glon.encode(Info))
end
[/highlight]
and info is set by more functions in init.lua called by the E2 extention file.\

The fuck at the first snippet? why so many things i didnt put there?