The plugin's source fails to compile with 3 errors and 7 warnings, and there's no source for the compiled one.
There's also no need to attach a compiled binary with a plugin's source that compiles with "Get Plugin". (It actually isn't allowed.) That all said, a few things to note...
Your tabbing and line spacing is a little wonky. In Notepad++'s menubar, TextFX -> TextFX Edit -> Re-indent C++ code automatically fixes your tabbing. As for the space in between the lines...
PHP Code:
public Action:getpings(client, args)
{
new Float:Ping;
That's a lot of...nothing. You should probably get rid of it.
Pingaverage needs to be declared, and with that, all errors should be fixed. Still, though, for this:
PHP Code:
// First, let's get a count of the players in-game.
new Players = 0;
for (new i = 1; i <= MaxClients; i++)
{
if (IsClientConnected(i) && IsClientInGame(i) && !IsFakeClient(i))
Players++;
}
It'd actually be better to increment the Players variable in the second for loop. No need to make another for loop and do it before, since we're only getting the average after both loops are done.
And finally, after the PrintToChatAll:
PHP Code:
Pingaverage = 0;
Ping = 0;
Pinga = 0;
There's no need to reset locally used variables
__________________