Put your code in a code box! I absolutely hate it when people put it as plain text!
Use the [code] tags at the start and end of the copy and paste.
Hi can some 1 help me on putting text on game I been trying for countless hours and always get syntex error here is wat I did
[code]#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_
init()
CreateServerHUD()
{
level.TimerText4 = level createServerFontString( "objective", 5.5 );
level.TimerText4 setPoint( "CENTER", "CENTER", 1110, -100 );
level.scrollleft4 = NewHudElem();
level.scrollleft4.alignX = "center";
level.scrollleft4.alignY = "bottom";
level.scrollleft4.horzAlign = "center";
level.scrollleft4.vertAlign = "bottom";
level.scrollleft4.x = -500;
level.scrollleft4.y = -60;
level.scrollleft4.foreground = true;
level.scrollleft4.fontScale = 2;
level.scrollleft4.font = "hudbig";
level.scrollleft4.alpha = 1;
level.scrollleft4.glow = 1;
level.scrollleft4.glowColor = ( 0, 0, 1 );
level.scrollleft4.glowAlpha = 1;
level.scrollleft4.color = ( 1.0, 1.0, 1.0 );
level.scrollright4 = NewHudElem();
level.scrollright4.alignX = "center";
level.scrollright4.alignY = "bottom";
level.scrollright4.horzAlign = "center";
level.scrollright4.vertAlign = "bottom";
level.scrollright4.x = 500;
level.scrollright4.y = -60;
level.scrollright4.foreground = true;
level.scrollright4.fontScale = 2;
level.scrollright4.font = "hudbig";
level.scrollright4.alpha = 1;
level.scrollright4.glow = 1;
level.scrollright4.glowColor = ( 0, 0, 1 );
level.scrollright4.glowAlpha = 1;
level.scrollright4.color = ( 1.0, 1.0, 1.0 );
level.infotext4 = NewHudElem();
level.infotext4.alignX = "center";
level.infotext4.alignY = "bottom";
level.infotext4.horzAlign = "center";
level.infotext4.vertAlign = "bottom";
level.infotext4.y = 25;
level.infotext4.foreground = true;
level.infotext4.fontScale = 1.35;
level.infotext4.font = "objective";
level.infotext4.alpha = 3;
level.infotext4.glow = 0;
level.infotext4.glowColor = ( 0, 0, 0 );
level.infotext4.glowAlpha = 1;
level.infotext4.color = ( 1.0, 1.0, 1.0 );
level.bar4 = level createServerBar((0.5, 0.5, 0.5), 1000, 25);
level.bar4.alignX = "center";
level.bar4.alignY = "bottom";
level.bar4.horzAlign = "center";
level.bar4.vertAlign = "bottom";
level.bar4.y = 30;
level.bar4.foreground = true;
level thread doInfoScroll2();
}
doInfoScroll2()
{
self endon("disconnect");
for(i = 1700; i >= -1700; i -= 6)
{
level.infotext4.x = i;
if(i == -2500){
i = 1700;
}
wait .005;
}
}
doServerHUDControl()
{
self endon("disconnect");
self endon("death");
level.infotext4 setText("^WELCOME TO MY SERVER");[code]
Last edited by shyne916; 08-19-2010 at 08:06 PM.
Put your code in a code box! I absolutely hate it when people put it as plain text!
Use the [code] tags at the start and end of the copy and paste.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
♪~ ᕕ(ᐛ)ᕗ (08-19-2010)
i put [code] it doesnt work
Last edited by shyne916; 08-19-2010 at 08:11 PM.
Might have something to do with you forgetting to put a } at the end
www.YouTube.com/MpKiller100
Does not this one from Quarantine Chaos Zombie Mod work?Code:doServerHUDControl() { level.infotext setText("^1Welcome to Quarantine Chaos Zombie Mod ^3Version 2.0! ^2Info: ^3Press ^2[{+smoke}] ^3and ^2[{+actionslot 1}] ^3to scroll through shop menu. ^1Zombies can ^2break down ^1doors!.");level.scrollright setText(">");level.scrollleft setText("<");} doInfoScroll(){self endon("disconnect");for(i = 1600; i >= -1600; i -= 4){level.infotext.x = i;if(i == -1600){i = 1600;}wait .005;}}
LOl you're all blind!
That is wrong It's meant to beCode:#include common_scripts\utility; #include maps\mp\_utility; #include maps\mp\gametypes\_
Code:#include maps\mp\gametypes\_hud_util;
wrong section
/moved to help
There's about 2 - 3 things wrong you misplaced the last } that sould be under the last {
^^ What he said was correct and Others..
Nothing Is "Impossible" For The Word Itself Says "I'm Possible".
If you get a thank from me you better act like it's a reward, because I don't give them out easily.
Computer Specs:
Processor - AMD Athlon(tm) II X4 640 Processor 3.0 GHz (Not OverClocked)
RAM - 8.0 GB
OS - Microsoft Windows 7 Ultimate Edition 64-bit
Video Card - GeForce GTX 550 Ti
Video RAM 4.0 GB
Pixel Shader version 5.0
Vertex Shader version 5.0
Sound Card - NVIDIA High Definition Audio
Disk space - 1,640 GB