[Ajuda] Urgente ajude ai manolos
#5

ate que fim achei
Quote:

forward clear();
public clear()
{
NumEntradas = 0;
}



public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
new ip[16];
GetPlayerIp(playerid, ip, 16);

if(!strcmp(ip,LastIp))
{
if(NumEntradas > 5)
{
Ban(playerid);
}
NumEntradas ++;
SetTimer("clear", 3000, 0);
}
else
{
GetPlayerIp(playerid, LastIp, 16);
NumEntradas = 0;
}
}

vamos ver si funciona qual quer problema abro outro topico sobre ajude desse codico
+ reep para os 2 por tentares ajudar valeu
Reply


Messages In This Thread
Urgente ajude ai manolos - by [toːkʲoː]_Shinjuku_.] - 27.10.2012, 20:04
Re: Urgente ajude ai manolos - by LucasLivinG - 27.10.2012, 20:08
Re: Urgente ajude ai manolos - by .FuneraL. - 27.10.2012, 20:12
Re: Urgente ajude ai manolos - by [toːkʲoː]_Shinjuku_.] - 27.10.2012, 20:45
Re: Urgente ajude ai manolos - by [toːkʲoː]_Shinjuku_.] - 27.10.2012, 20:54

Forum Jump:


Users browsing this thread: 1 Guest(s)