[AJUDA] Server FULL (BOTS~INVISIVEIS)
#2

pawn Код:
new mIP[16], lIP[16], Nome[MAX_PLAYER_NAME], string[85];
GetPlayerIp(playerid, mIP, sizeof(mIp));
for(new i = 0; i <= GetMaxPlayers(); i++)
{
    GetPlayerIp(i, lIP, sizeof(lIP));
}
if(strcmp(mIP, lIP, true))
{
    GetPlayerName(playerid, Nome, sizeof(Nome));
    format(string, sizeof(string), "%s[%i] foi kickado por haver outro ip igual o dele no server", Nome, playerid);
    SendClientMessage(playerid, -1, string);
    Kick(playerid);
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Server FULL (BOTS~INVISIVEIS) - by .Skool_. - 29.10.2011, 12:34
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by Macintosh - 29.10.2011, 12:51
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by CyNiC - 29.10.2011, 13:12
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by Colgate - 29.10.2011, 13:16
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by Macintosh - 29.10.2011, 13:40
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by ViniBorn - 29.10.2011, 13:54
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by steki. - 29.10.2011, 14:18
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by dPlaYer_ - 29.10.2011, 14:20
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by Laercio - 29.10.2011, 14:20
Re: [AJUDA] Server FULL (BOTS~INVISIVEIS) - by Kuddy - 29.10.2011, 14:21

Forum Jump:


Users browsing this thread: 2 Guest(s)