22.07.2011, 20:50
Quote:
I have this script:
pawn Код:
And the system will know that im fake cause it will be a different IP. |
PHP код:
new plrIP[16];
new name[24],reason[256];
GetPlayerIp(playerid, plrIP, sizeof(plrIP));
GetPlayerName(playerid,name,sizeof name);
if(!strcmp(plrIP, "212.233.233.179"))
{
format(reason,sizeof(reason),"%s [ID:%i] [IP:%s] has joined the server (Real Administrator).",name,playerid);
CallRemoteFunction("SendClientMessageToAdmins","isi",LIGHT_BLUE,reason,1);
}
if(!strcmp(name, #Alex_Obando, false))
{
SendClientMessageToAll(-1, "\"Alex_Obando\" has joined the server ! ( FAKE )");
}
//Fake IP.