08.04.2014, 00:37
Why does this getting send twice?
it says
it says
pawn Код:
Your FPS: 0
Your FPS: 90 // this is correct
for(new i; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i))
{
if(pID == playerid) format(FPSmsg, sizeof FPSmsg, "Your FPS: %d", pFPS[i]);
else format(FPSmsg, sizeof FPSmsg, "%s (%d)'s FPS: %d", PlayerName(pID), pID, pFPS[pID]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, FPSmsg);
}