It's been a long time...
#7

pawn Код:
new FPSlimite = strval(params);
serious? you transform an intergrer into integrer , why you do this?
strval is for transforming strings into integrer

you may use

new FPSlimite;

also a new problem playerid is the player who have that fps, so the command won't kick player who have low fps , will kick the player who type the command if he have low ping
you should loop

like
pawn Код:
///also this should be in the callback timer not into the command.
for(new i = 0; i < MAX_PLAYERS;i++)
{
    if(GetPlayerFPS(i) < FPSlimite)
    {
        SetTimerEx("FPSKicker",5000, 1, "u", i); //customize this to your time ...., 1 is for reapeting this one
    }
    return 1;
}
Reply


Messages In This Thread
It's been a long time... - by Strier - 12.04.2013, 18:37
Re: It's been a long time... - by SilverKiller - 12.04.2013, 18:38
Respuesta: It's been a long time... - by Strier - 12.04.2013, 18:40
Re: It's been a long time... - by Faisal_khan - 12.04.2013, 18:40
Respuesta: It's been a long time... - by Strier - 12.04.2013, 18:56
Re: It's been a long time... - by Faisal_khan - 12.04.2013, 18:59
Re: It's been a long time... - by XStormiest - 12.04.2013, 19:00
Respuesta: It's been a long time... - by Strier - 12.04.2013, 19:02
Re: It's been a long time... - by XStormiest - 12.04.2013, 19:05
Re: It's been a long time... - by Faisal_khan - 12.04.2013, 19:07

Forum Jump:


Users browsing this thread: 4 Guest(s)