Nice plugin but...
PHP Code:
public OnGameFrame()
{
decl MaxPlayer;
MaxPlayer = GetMaxClients();
This part of the code is very bad for frequency because it is doing the same work on every frame. You can simply use MaxClients that is supported since sm 1.1.0:
PHP Code:
public OnGameFrame()
{
for(new Client = 1; Client <= MaxClients; Client++)
{
// some stuff
}
}
__________________