View Single Post
Author Message
(--eRRoR--)
Senior Member
Join Date: Mar 2008
Location: Romania
Old 12-09-2010 , 11:08   Ticketing sistem hud modification
Reply With Quote #1

I want to modifii the color of the hud that show the tickets.

I found the code
Code:
{
			set_hudmessage(255, 255, 255, 0.0, 0.12, 0, 6.0, 240.0, 0.1, 0.1, 4)
			new message[101]
			format(message, 100, "Round Tickets remaining - ^nTerrorists Tickets: %d^nCounter-Terrorist Tickets: %d", t , ct)
			show_hudmessage(id, message)
		}
and replace it with
Code:
		{
			set_hudmessage(255, 255, 255, 0.0, 0.12, 0, 6.0, 240.0, 0.1, 0.1, 4)
			new message[101]
			format(message, 100, "|-Round Tickets remaining-|" )
			show_hudmessage(id, message)
			set_hudmessage(255, 0, 0, 0.0, 0.16, 0, 6.0, 240.0, 0.1, 0.1, 4)
			//new message[101]
			format(message, 100, "Terrorists Tickets: %d", t )
			show_hudmessage(id, message)
			set_hudmessage(48, 85, 255, 0.0, 0.20, 0, 6.0, 240.0, 0.1, 0.1, 4)
			//new message[101]
			format(message, 100, "Counter-Terrorist Tickets: %d", ct )
			show_hudmessage(id, message)
		}
to make the ct tickets line blue and the terrorist rest.

But it didnt work.
A little help please
__________________
All good coders who want to help us finish the uwc3x mode are expected here.
(--eRRoR--) is offline
Send a message via Yahoo to (--eRRoR--) Send a message via Skype™ to (--eRRoR--)