AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [INC] Colors (1.0.5) (https://forums.alliedmods.net/showthread.php?t=96831)

Greyscale 03-08-2010 21:05

Re: [INC] Colors (1.0.2)
 
Feature request:

Code:

#if defined _colors_included
 #endinput
#endif
#define _colors_included


Stops the file from being included more than once, is consistent with SM includes, and provides a way to check if the file is included. (adding support for it in a project base component :) )

exvel 03-09-2010 00:13

Re: [INC] Colors (1.0.2)
 
Wow, thanks for this tip. :)

crazytina 03-26-2010 03:31

Re: [INC] Colors (1.0.2)
 
can we get up date for this or make one for left 4 dead 2 :)

psychonic 03-26-2010 07:39

Re: [INC] Colors (1.0.2)
 
As noted on the first post, L4D2 support was added to it three months ago.

Zuko 04-06-2010 19:34

Re: [INC] Colors (1.0.2)
 
imo this sholud be addeed to sm core.

njkid08 04-06-2010 20:51

Re: [INC] Colors (1.0.2)
 
need help..i cant get the colored txt to work ;(

exvel 04-07-2010 01:37

Re: [INC] Colors (1.0.2)
 
Quote:

Originally Posted by njkid08 (Post 1141891)
need help..i cant get the colored txt to work ;(

Can you be more specific?

njkid08 04-07-2010 23:20

Re: [INC] Colors (1.0.2)
 
i added color.inc to include folder
and i still cant get it to work...
for example

"killed"
{
"en" "{green}killed{default}"
}

exvel 04-08-2010 13:39

Re: [INC] Colors (1.0.2)
 
Did you added this into the beginning of the code?
PHP Code:

#include <colors> 


njkid08 04-08-2010 21:30

Re: [INC] Colors (1.0.2)
 
i did under colors.inc code


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

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