Код
public Action:PMBlock(client, args)
{
if (client < 1)
return Plugin_Handled;
decl String:steamid[35];
if (GetClientAuthString(client, steamid, 35))
{
PrintToChat(client, "\x01\x04%s \x01(пинг: \x04%d\x01)",
steamid, RoundToZero(GetClientAvgLatency(client, NetFlow_Outgoing) * 1024));
}
return Plugin_Handled;
}