Both are wrong....
Do it like that and it works:
Code:

function DrawText()
{
var TextPos; //where the text should appear
var stri;
stri = strindex;
TestEnt = my;
while(1)
{
vec_set(TextPos,vector(my.x,my.y,my.z+55));
vec_set(temp,TextPos);
vec_to_screen(temp,camera);
if (c_trace(TextPos,camera.x,IGNORE_ME|IGNORE_PASSABLE)==0&&temp!=0)
{
draw_text(TestStr.string[stri],temp.x,temp.y,vector(255,50,50));
}
wait(1);
}
}




Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com