[Ajuda] Random com isso ?
#9

Tente assim:

pawn Код:
stock ConfPing(playerid) {
    new PING = GetPlayerPing(playerid);
    new avalPing[11];
   
    if(PING < 150) avalPing = "Excelente";
    if(PING >= 150 && PING < 200) avalPing = "Muito bom";
    if(PING >= 200 && PING < 220) avalPing = "Bom";
    if(PING >= 220 && PING < 300) avalPing = "Normal";
    if(PING >= 300 && PING < 350) avalPing = "Ruim";
    if(PING >= 350) avalPing = "Pessimo";
    return avalPing;
}

stock ConfFPS(playerid) {
    new FPS = GetPlayerFPS(playerid);
    new avalFPS[11];
   
    if(FPS >= 0 && FPS < 15) avalFPS = "Pessimos";
    if(FPS >= 15 && FPS < 24) avalFPS = "Ruim";
    if(FPS >= 24 && FPS < 35) avalFPS = "Normal";
    if(FPS >= 35 && FPS < 45) avalFPS = "Bom";
    if(FPS >= 45 && FPS < 60) avalFPS = "Muito bom";
    if(FPS >= 60) avalFPS = "Excelentes";
    return avalFPS;
}
Reply


Messages In This Thread
Random com isso ? - by B4dB0y - 15.09.2013, 16:02
Re: Random com isso ? - by Juniiro3 - 15.09.2013, 16:04
Re: Random com isso ? - by B4dB0y - 15.09.2013, 16:07
Re: Random com isso ? - by Blix - 15.09.2013, 16:22
Re: Random com isso ? - by B4dB0y - 15.09.2013, 16:25
Re: Random com isso ? - by B4dB0y - 15.09.2013, 16:39
Re: Random com isso ? - by ViniBorn - 15.09.2013, 17:12
Re: Random com isso ? - by B4dB0y - 15.09.2013, 23:23
Re: Random com isso ? - by Juniiro3 - 16.09.2013, 00:13
Re: Random com isso ? - by [THs]ShadoW - 16.09.2013, 02:57

Forum Jump:


Users browsing this thread: 1 Guest(s)