Code:
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /test", "test")
}
public test()
{
ColorChat(0, GREEN, "Player (player name) used /test command.");
}
How can I get a name of player who typed /test.
Replace it with (player name)