[Ajuda] Como faзo para limitar o comando por um tempo.
#4

Vocк pode usar assim:
Coloque no topo:
PHP код:
new Tempo[MAX_PLAYERS]; 
e no comando ou callback
PHP код:
    if((gettime() - Tempo[playerid]) < && Tempo[playerid]) {
       
       
//
       // FLOOD
       //
       
return 1;
    }
    
Tempo[playerid] = gettime(); 
Reply


Messages In This Thread
Como faзo para limitar o comando por um tempo. - by OverKiller - 14.06.2016, 22:19
Re: Como faзo para limitar o comando por um tempo. - by ipsLuan - 14.06.2016, 22:25
Re: Como faзo para limitar o comando por um tempo. - by Carlos001 - 14.06.2016, 22:28
Re: Como faзo para limitar o comando por um tempo. - by zSuYaNw - 14.06.2016, 22:32
Re: Como faзo para limitar o comando por um tempo. - by willttoonn - 14.06.2016, 22:54
Re: Como faзo para limitar o comando por um tempo. - by ClaudineiCDS - 19.06.2016, 09:49

Forum Jump:


Users browsing this thread: 4 Guest(s)