Posts
44
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!im pretty sure those are hud elements with a background color
im pretty sure those are hud elements with a background color

creating a hud element is using a function silly
lol it depends on your type text or image.
text:Spoiler: click to open...text = create_simple_hud();
text.foreground = 1;
text.horzAlign = "left";
text.vertAlign = "top";
text.alignX = "left";
text.alignY = "top";
//text.y = -210;
//text.x = -120;
text.foreground = 1;
text.alpha = 1;
text.color = ( 1, 1, 1 ); // this is color
text SetText( "text goes here" );[close]
image:Spoiler: click to open...var = create_simple_hud();
var.alignX = "left";
var.alignY = "top";
var.horzAlign = "left";
var.vertAlign = "top";
var.foreground = 1; // this tells if itll be behind other hud elements or not
//var.x = -100; // this moves it on the x axis; you can also use ".y"
var.alpha = 1;
var.color = ( 1, 1, 1 ); // this makes it so there is no tint to it
var SetShader( "unlock_token_128", 64, 64 ); // must prechache the shader first[close]
as for the background, im still fairly new at this so i dont know id there is a .soso for it. i reccomend having a soldi color image be behind the text.
welcome. careful the ordering is important. the first ones will be on top of the bottom ones
