PHP Code:
PrintToChat(client, "\x04[SM] See console for output!");
-->
PHP Code:
if (GetCmdReplySource() == SM_REPLY_TO_CHAT) PrintToChat(client, "\x04[SM] %t", "See console for output");
Combine that with LoadTranslations("common.phrases"); in OnPluginStart, and bam, this plugin supports all languages that SM does.
Could use more stuff too, like
PHP Code:
new ping = RoundFloat(GetClientAvgLatency(i, NetFlow_Outgoing) * 1024);
new connectionTime = RoundFloat(GetClientTime(i));
Could also show their IP too, as others have suggested...but perhaps only if an admin has enabled a cvar such as "sm_status_ip" or something.
__________________