You can however use any rgb value you like, so:
hud.color=(1,0,0); will result in a red hud
2.
Use:
Code: Select all
hud.label=&"This is a label";
hud setplayernamestring(player);
Moderator: Core Staff
Code: Select all
hud.label=&"This is a label";
hud setplayernamestring(player);
IzNoGoD wrote:The edges cant be colored (at least not in cod2, cod4 seems to have some sort of glow function though)
You can however use any rgb value you like, so:
hud.color=(1,0,0); will result in a red hud
2.
Use:Code: Select all
hud.label=&"This is a label"; hud setplayernamestring(player);
Code: Select all
hud setplayernamestring(player);
Code: Select all
player.credits.label = &"HELLOWORLD"+playernamestring(player);
serveaiuto wrote: but is possible to show the playernamestring after a prechacestring?
likei know that my code is not right...need helpCode: Select all
 player.credits.label = &"HELLOWORLD"+playernamestring(player);
Code: Select all
hud.label=&"This is a label &&1";
hud setplayernamestring(player);
ohhhhhhh yes!IzNoGoD wrote:Watch the &&1, this is where the settext/setvalue/setplayernamestring goes
I found itIzNoGoD wrote:The edges cant be colored (at least not in cod2, cod4 seems to have some sort of glow function though)
Code: Select all
player.credits.glowcolor = (1, 0, 0);
player.credits.glowalpha = 0.7;
Users browsing this forum: No registered users and 1 guest