[Ajuda]Anti-Flood
#2

nгo manjo de usar esse GetPVarString e nem outros desse tipo, mas testa ae:
pawn Код:
public OnPlayerText(playerid,text[])
{    
    new pvar[128];
    GetPVarString(playerid,"UltimoTexto",pvar,sizeof(pvar));
    if(!strcmp(pvar,text))
    {
        SendClientMessage(playerid,-1,"Palavra repetida !");    
        return false;
    }
    return true;
}
Reply


Messages In This Thread
[Ajuda]Anti-Flood - by |_MeGaTroN_| - 18.02.2012, 14:21
Re: [Ajuda]Anti-Flood - by Lucas_Alemao - 18.02.2012, 14:26
Re: [Ajuda]Anti-Flood - by |_MeGaTroN_| - 18.02.2012, 14:57
Re: [Ajuda]Anti-Flood - by rjjj - 18.02.2012, 15:13
Re: [Ajuda]Anti-Flood - by Lucas_Alemao - 18.02.2012, 15:15
Re: [Ajuda]Anti-Flood - by |_MeGaTroN_| - 18.02.2012, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)