[PEDIDO] Sistema Anti-Flood/Anti-Spam
#4

Quote:
Originally Posted by feliperch
Посмотреть сообщение
PHP код:
new Flooder[MAX_PLAYERS];
public 
OnPlayerText(playerid,text[])
{
    if(
Flooder[playerid] > gettime()) return SendClientMessage(playerid,-1,"Morre flooder do capeta");
    
Flooder[playerid] = gettime()+5;
    return 
false;

returne a false, porque seu cуdigo irб mandar mensagem e tambйm liberarб o xat.


pawn Код:
public OnPlayerText(playerid,text[])
{
    if(Flooder[playerid] > gettime()) return SendClientMessage(playerid,-1,"Morre flooder do capeta"),0;
    Flooder[playerid] = gettime()+5;
    return false;
}
Reply


Messages In This Thread
[PEDIDO] Sistema Anti-Flood/Anti-Spam - by ViCtOr_Mc - 14.07.2011, 17:56
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by RockFire - 14.07.2011, 17:59
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by ViCtOr_Mc - 14.07.2011, 18:01
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by SuYaNw - 14.07.2011, 18:02
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by RockFire - 14.07.2011, 18:06
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by ViCtOr_Mc - 14.07.2011, 18:06
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by Dark.Angel - 14.07.2011, 18:10
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by ViCtOr_Mc - 14.07.2011, 18:23
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by SuYaNw - 14.07.2011, 18:30
Re: [PEDIDO] Sistema Anti-Flood/Anti-Spam - by ViCtOr_Mc - 14.07.2011, 18:35

Forum Jump:


Users browsing this thread: 3 Guest(s)