05.08.2011, 05:52
Lo primero:
Y te conviene utilizar strcmp, para comprobar que sean totalmente iguales.
Lo segundo no se que te referнs xD
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;
}
Lo segundo no se que te referнs xD