No no lol, thats line 77 of usermessage.lua in the module file its self, thats not my file.
To make it easier for you guys to see what im doing wrong, heres most of the rest of the file.
[lua]
print(“Running textholos.lua”)
Plyind = {}
function setpos(index,pos,ply)
print(“Wire_TextHolo Debug: SetPos ran.”)
Plyind[ply][index][“Pos”] = pos
umsg.Start(“wire_textholo_setpos”)
umsg.Entity(ply)
umsg.Short(index)
umsg.Vector(pos)
umsg.End()
end
function setang(index,ang,ply)
print(“Wire_TextHolo Debug: SetAng ran.”)
Plyind[ply][index][“Ang”] = ang
umsg.Start(“wire_textholo_setang”)
umsg.Entity(ply)
umsg.Short(index)
umsg.Angle(ang)
umsg.End()
end
function setext(index,text,ply)
print(“Wire_TextHolo Debug: SetText ran.”)
Plyind[ply][index][“Txt”] = text
umsg.Start(“wire_textholo_setxt”)
umsg.Entity(ply)
umsg.Short(index)
umsg.String(tostring(text))
umsg.End()
end
function setscale(index,scale,ply)
print(“Wire_TextHolo Debug: SetScale ran.”)
Plyind[ply][index][“Scl”] = scale
umsg.Start(“wire_textholo_setscl”)
umsg.Entity(ply)
umsg.Short(index)
umsg.Short(scale)
umsg.End()
end
function setcolor(index,color,ply)
print(“Wire_TextHolo Debug: SetColor ran.”)
Plyind[ply][index][“Clr”] = color
umsg.Start(“wire_textholo_setclr”)
umsg.Entity(ply)
umsg.Short(index)
umsg.Vector(Vector(color.r,color.g,color.b))
umsg.Short(color.a)
umsg.End()
end
function delete(index,ply)
//delete
end
function new(index,ply,ent,pos,ang,text,scale,color)
print(“Wire_TextHolo Debug: NewText ran.”)
if(!Plyind[ply]) then
Plyind[ply] = {}
end
Plyind[ply][index] = {}
Plyind[ply][index][“Pos”] = pos or ent:GetPos()
Plyind[ply][index][“Ang”] = ang or ent:GetAngles()
Plyind[ply][index][“Txt”] = text or “Hello world”
Plyind[ply][index][“Scl”] = scale or 1
Plyind[ply][index][“Clr”] = color or Color(255,255,255,255)
Plyind[ply][index][“Entity”] = ent
umsg.Start(“wire_textholo_add”)
umsg.Entity(ply)
umsg.Short(index)
umsg.End()
setpos(index,Plyind[ply][index][“Pos”],ply)
setang(index,Plyind[ply][index][“Ang”],ply)
setext(index,Plyind[ply][index][“Txt”],ply)
setscale(index,Plyind[ply][index][“Scl”],ply)
setcolor(index,Plyind[ply][index][“Clr”],ply)
end
[/lua]
[editline]02:31PM[/editline]
Cmon please? Can no one figure out whats wrong?