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;
}