- Messages
- 5,038
- Reaction score
- 2,898
- Points
- 1,103
Hello CCM,
this is a tutorial of something that is old, but I the most people still don't know,so I decided to post it here. Is a tutorial about hud elements in 3D. It has the same effect as the death icons. This Function is by Yamato.
Function Code
Here is a example
You can do this with any other hud Element too.
Thank you and have a nice day,
@CabCon.
this is a tutorial of something that is old, but I the most people still don't know,so I decided to post it here. Is a tutorial about hud elements in 3D. It has the same effect as the death icons. This Function is by Yamato.
Function Code
Code:
MakeWorldText(x,y,z,alpha,shader,width,height)
{
text = newHudElem();
text.x = x;
text.y = y;
text.z = z;
text.alpha = alpha;
text.archived = true;
text setShader(shader,width,height);
text setwaypoint(true,false);
return text;
}
Here is a example
Code:
self.element = self MakeWorldText(0,0,0,1,"lui_loader_32_no_offset",100,100);
You can do this with any other hud Element too.
Thank you and have a nice day,
@CabCon.