08.03.2011, 16:09
I am trying to make a FPS kicker with the stock GetPlayerFPS function from [FeK]DraKiNs
My code:
The bug is that it keeps kicking me at connecting and at class selection even tho my FPS is 40+ all the time.
Anyone plase give me some advices how to fix this bug.
Thanks regards.
Quote:
pawn Код:
|
pawn Код:
if(GetPlayerFPS(playerid) < 22)
{
fpswarning(playerid);
SendClientMessage(playerid,COLOR_RED,"WARNING: Your FPS is lower then the minimum ammount of circa 25 FPS, you have 10 seconds to establish your FPS or else you will get kicked.");
}
Anyone plase give me some advices how to fix this bug.
Thanks regards.