13.12.2012, 20:10
Code:
new strg1[256], strg2[256]; new PlayerName[16]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if ((wfps > 0 ) && (wfps < 25 )) pFPS[playerid]= wfps; format(strg1, sizeof(strg1), "%s has been kicked from the Server. Reason - Average fps is %d", PlayerName, pFPS); SendClientMessageToAll(COLOR_GREEN, strg1); format(strg2, sizeof(strg2), "You have been kicked from the server. Reason - Average fps is %d", pFPS); SendClientMessage(playerid, COLOR_GREEN, strg2); Kick(playerid);