Flood
#3

Lo primero:
pawn Код:
public OnPlayerText(playerid, text[])
{
    static LastText[MAX_PLAYERS][128];
    if(strfind(LastText[playerid], text, false) != 0)
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "No intentes hacer FLOOD !")   
        LastText[playerid] = -1;
        return 1;
    }
    strmid(LastText[playerid], text, 0, strlen(text), sizeof(LastText[]));
    return 1;
}
Y te conviene utilizar strcmp, para comprobar que sean totalmente iguales.

Lo segundo no se que te referнs xD
Reply


Messages In This Thread
Flood - by Braz_y - 05.08.2011, 00:18
Respuesta: Flood - by Braz_y - 05.08.2011, 02:47
Respuesta: Flood - by [J]ulian - 05.08.2011, 05:52
Respuesta: Flood - by Braz_y - 05.08.2011, 16:15
Respuesta: Flood - by TiNcH010 - 05.08.2011, 18:09
Respuesta: Flood - by Braz_y - 05.08.2011, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)