Would it work???
#4

pawn Код:
new string[128];
if (PlayerInfo[playerid][pAdmin] <1 || !IsPlayerAdmin(playerid))
{
    if (GetPlayerPing(playerid) > 500)
    {
        format(string,sizeof(string),"[Server]: Player %s Have been kicked from server (High Ping, %d /500)",GetPlayerNameEx(playerid),GetPlayerPing(playerid));
        SendClientMessageToAll(COLOR_DRED, string);
        Kick(playerid);
    }
}
You forgot to open "{"
Reply


Messages In This Thread
Would it work??? - by Audi_Quattrix - 26.05.2012, 21:18
Re: Would it work??? - by iGetty - 26.05.2012, 21:20
Re: Would it work??? - by Audi_Quattrix - 26.05.2012, 21:24
Re: Would it work??? - by TzAkS. - 26.05.2012, 22:33

Forum Jump:


Users browsing this thread: 4 Guest(s)