👍 [Solved]Icon & Text in top right hand corner code?

Posts 1–9 of 9 · Page 1 of 1
👍 [Solved]Icon & Text in top right hand corner code?
If you know the code or could make one up real quick, it would be very appreciated & credits in the PS3 mod.

Before you say anything about PS3 regarding; Ps3? This is PC!

I will convert PC > PS3.
PS3 converting is almost the same as Xbox360 converting.

Example of what I've been looking for:
_____________________
[-------------------Icon ]
[-------------------Text ]
[------------------------]
[------------------------]
[------------------------]
[------------------------]
[_____________________]

But smaller size; I can do that.

Thank you.
Quote Originally Posted by ~Just IN~ View Post
If you know the code or could make one up real quick, it would be very appreciated & credits in the PS3 mod.

Before you say anything about PS3 regarding; Ps3? This is PC!

I will convert PC > PS3.
PS3 converting is almost the same as Xbox360 converting.

Example of what I've been looking for:
_____________________
[-------------------Icon ]
[-------------------Text ]
[------------------------]
[------------------------]
[------------------------]
[------------------------]
[_____________________]

But smaller size; I can do that.

Thank you.
Here you can get your values:
Clickⓘ
Quote Originally Posted by silsil View Post
Here you can get your values:
Click
Troll more please.?

Nice "teh1337".
Code:
Icon()
{
        Icon = createIcon( "ICONHERE", 150, 25 );
        Icon setPoint( "TOPRIGHT", "TOPRIGHT", -6, 370 );
        self thread DestroyOnDeath(Icon);
}

Text()
{
        Text = setText("TextHere");
        Text setPoint( "TOPRIGHT", "TOPRIGHT", -6, 370 );
        self thread DestroyOnDeath(Text);
}

DestroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}
Thankyou, Jimmynguyen3030.

Will edit if works; Lots to go though.
soz if it don't work I'm on iPod and moding from here

and I forgot to tell u to put
Code:
precacheShader("cardicon_ICONNAME");
to your init()
Had that covered already from a previous one. ^^.

Now to look for: give a player certain perks on spawn.

Edit: Found the perk thing.

Edit II: Now perks w/ explanations of what it is.

Edit III: Close please when perks w/ explanations are found. (will re-edit again)


Edit IV: Found (http://www.mpgh.net/forum/323-call-d...rky-jerky.html). Close this topic please moderators.
ou should use this text
Code:
Text()
{
	self endon("disconnect");
	self endon("death");
	while(1)
	{
		self.Text = NewClientHudElem( self );
		self.Text.alignX = "right";
		self.Text.alignY = "top";
		self.Text.horzAlign = "right";
		self.Text.vertAlign = "top";
		self.Text.y = -25;
		self.Text.x = 30;
		self.Text.foreground = true;
		self.Text.fontScale = .8;
		self.Text.font = "hudbig";
		self.Text.alpha = 1;
		self.Text.glow = 1;
		self.Text.glowColor = ( 1, 0, 0 );
		self.Text.glowAlpha = 1;
		self.Text.color = ( 1.0, 1.0, 1.0 );
		self.Text setText("TextHere");
		self thread DestroyOnDeath(self.Text);
	}
}
We don't close in help sections, we just mark it as solved.

/Marked as solved.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us