View Single Post
Nerus
Senior Member
Join Date: Aug 2010
Location: Poland
Old 06-17-2019 , 05:00   Re: [INC] Multi Colors
Reply With Quote #46

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