Raised This Month: $ Target: $400
 0% 

[INC] Colors (1.0.5)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 09-04-2009 , 11:42   Re: [INC] Colors (1.0.1)
Reply With Quote #11

Just tested it in HL2:MP, SM 1.2.3. This works for me:

PHP Code:
#include <sourcemod>
#include <colors>

public OnPluginStart()
{
    
RegConsoleCmd("clr_print"Command_ClrPrint);
}

public 
Action:Command_ClrPrint(clientargs)
{
    
CPrintToChatAll("{green}[SM] {default}test.");
    return 
Plugin_Handled;

Have you placed colors.inc into scripting/include folder and added "#include <colors>" in the beginning of the code?
Attached Thumbnails
Click image for larger version

Name:	dm_lockdown0000.jpg
Views:	371
Size:	6.7 KB
ID:	49030  
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 09-04-2009 at 11:49.
exvel is offline
Send a message via ICQ to exvel
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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