09.10.2012, 12:46
Quote:
Код:
[2012-10-08 19:32:13] [join] Alberto_Falcone_DSGh has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_Dji7 has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DEps has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DAJI has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DzmP has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_D2Xf has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DGrt has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DAST has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_D8Nl has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DS8V has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_Do5K has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DOUQ has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DKQJ has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_Dna5 has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DPFE has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DWpi has joined the server (63:95.58.107.49) [2012-10-08 19:32:13] [join] Alberto_Falcone_DvxB has joined the server (63:95.58.107.49) |
или
Код:
function OnPlayerConnect(playerid) { static ip[2][16]; GetPlayerIp(playerid,ip[0],16); for(new i, m = GetMaxPlayers(), x; i != m; i++) { if(!IsPlayerConnected(i) || i == playerid) continue; GetPlayerIp(i,ip[1],16); if(!strcmp(ip[0],ip[1],true)) x++; if(x > 2) return Kick(i); } return true; }