[Pedido] Anti Flood de Comandos
#5

pawn Код:
new Flood[MAX_PLAYERS];
#define FLOOD_SEGUNDOS 5

// No comando
if(Flood[playerid] < gettime()) return SendClientMessage(playerid, -1, "Aguarde "FLOOD_SEGUNDOS" segundos.");
Flood[playerid] = gettime() + FLOOD_SEGUNDOS;
Reply


Messages In This Thread
[Pedido] Anti Flood de Comandos - by Caio_Freeze - 28.04.2012, 00:47
Re: [Ajuda] Warnings - by Ricop522 - 28.04.2012, 00:52
Re: [Ajuda] Warnings - by Bruno Pereira - 28.04.2012, 00:52
Re: [Pedido] Anti Flood de Comandos - by Caio_Freeze - 28.04.2012, 00:53
Re: [Pedido] Anti Flood de Comandos - by Ricop522 - 28.04.2012, 00:56
Re: [Pedido] Anti Flood de Comandos - by Caio_Freeze - 28.04.2012, 01:08
Re: [Pedido] Anti Flood de Comandos - by Smith. - 28.04.2012, 01:24
Re: [Pedido] Anti Flood de Comandos - by Caio_Freeze - 28.04.2012, 01:27
Re: [Pedido] Anti Flood de Comandos - by Smith. - 28.04.2012, 01:30
Re: [Pedido] Anti Flood de Comandos - by Ricop522 - 28.04.2012, 01:54

Forum Jump:


Users browsing this thread: 1 Guest(s)