15.09.2013, 17:12
Tenta aн
pawn Код:
stock ConfPing(playerid) {
new PING = GetPlayerPing(playerid);
new avalPing[11];
if(PING >= 350) avalPing = "Pessimo";
else if(PING >= 300) avalPing = "Ruim";
else if(PING >= 220) avalPing = "Normal";
else if(PING >= 200) avalPing = "Bom";
else if(PING >= 150) avalPing = "Muito bom";
else avalPing = "Excelente";
return avalPing;
}
stock ConfFPS(playerid) {
new FPS = GetPlayerFPS(playerid);
new avalFPS[11];
if(FPS >= 60) avalFPS = "Excelente";
else if(FPS >= 45) avalFPS = "Muito bom";
else if(FPS >= 35) avalFPS = "Bom";
else if(FPS >= 24) avalFPS = "Normal";
else if(FPS >= 15) avalFPS = "Ruim";
else avalFPS = "Pessimo";
return avalFPS;
}