Raised This Month: $ Target: $400
 0% 

[INC] Multi Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 06-17-2019 , 04:19   Re: [INC] Multi Colors
Reply With Quote #1

Quote:
Originally Posted by Nerus View Post
Reattached.
try

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

#pragma semicolon 1
#pragma newdecls required

public Plugin myinfo = {
    
name        "",
    
author      "",
    
description "",
    
version     "0.0.0",
    
url         ""
};

public 
void OnPluginStart()
{
    
LoadTranslations("test.phrases");
    
    
RegConsoleCmd("sm_test"Test);
}

public 
Action Test(int clientint args)
{
    
CPrintToChat(client"%T""sm_test_example"client);

    return 
Plugin_Continue;

__________________
8guawong is offline
Nerus
Senior Member
Join Date: Aug 2010
Location: Poland
Old 06-17-2019 , 05:00   Re: [INC] Multi Colors
Reply With Quote #2

Quote:
Originally Posted by 8guawong View Post
try

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

#pragma semicolon 1
#pragma newdecls required

public Plugin myinfo = {
    
name        "",
    
author      "",
    
description "",
    
version     "0.0.0",
    
url         ""
};

public 
void OnPluginStart()
{
    
LoadTranslations("test.phrases");
    
    
RegConsoleCmd("sm_test"Test);
}

public 
Action Test(int clientint args)
{
    
CPrintToChat(client"%T""sm_test_example"client);

    return 
Plugin_Continue;

It works but I need to check %t and %T differences how it is, I don't like to do it around.

Last edited by Nerus; 06-17-2019 at 05:17.
Nerus is offline
Reply



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 23:42.


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