Try this
PHP Code:
#include <sourcemod>
#pragma semicolon 1
new m_clrRender;
public Plugin:myinfo =
{
name = "Test script",
author = "KK",
description = "Test script",
version = "0.1",
url = "http://www.attack2.co.cc/"
};
public OnPluginStart()
{
RegConsoleCmd("sm_mycolor", Command_MyColor);
m_clrRender = FindSendPropOffs("CTFPlayer", "m_clrRender");
}
public Action:Command_MyColor(client, args)
{
PrintToChat(client, "You color are Red %i | Green %i | Blue %i | Alpha %i ", GetEntData(client, m_clrRender, 1), GetEntData(client, m_clrRender + 1, 1)), GetEntData(client, m_clrRender + 2, 1), GetEntData(client, m_clrRender + 3, 1));
}
__________________