AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   CSDM (https://forums.alliedmods.net/forumdisplay.php?f=87)
-   -   Ticketing sistem hud modification (https://forums.alliedmods.net/showthread.php?t=144896)

(--eRRoR--) 12-09-2010 11:08

Ticketing sistem hud modification
 
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 :D


All times are GMT -4. The time now is 01:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.