05.02.2009, 06:32
i wont bring my old topic back, since its on page 10, but i wanted a anti name, This is what i have so far. this is on onplayerconnect
No errors no warnings, But still it does not work?
pawn Код:
new ip[16], pname[MAX_PLAYER_NAME];
GetPlayerIp(playerid, ip, sizeof(ip));
GetPlayerName(playerid, pname, sizeof(pname));
new pos = strfind(ip, ".", true);
strdel(ip, pos, strlen(ip));
if(strcmp("82.37.hashed.out", ip, true) == 0 && strcmp(pname, "[LOS]Mrkrabz", true) == 0) Kick(playerid);
if(strcmp("82.37.hashed.out", ip, true) == 0 && strcmp(pname, "[LOS]Cammy", true) == 0) Kick(playerid);