[Ajuda] SetTimer
#3

Use SetTimerEx
Se tiver duvidas olhe esse tutorial do Jonathan https://sampforum.blast.hk/showthread.php?tid=557107

@Edit pra nгo precisar usar a condiзгo em todos os comandos se voce estiver usando zcmd
pode usar da seguinte maneira:

PHP код:
public OnPlayerCommandReceived(playeridcmdtext[])
{
    if(
UsarComando[playerid] == 1// condiзгo que nгo podera usar o comando
    
{
        
SendClientMessage(playerid, -1"Espere 3 segundos apos levar o dano para usar comando");
        return 
0;
    }
    return 
1;

Reply


Messages In This Thread
SetTimer - by SrDonalds - 07.05.2015, 00:13
Re: SetTimer - by GabrielDias_Invision - 07.05.2015, 00:20
Re: SetTimer - by Cleyson - 07.05.2015, 00:20
Re: SetTimer - by GabrielDias_Invision - 07.05.2015, 00:23
Re: SetTimer - by Krusheer - 07.05.2015, 00:33
Re: SetTimer - by GabrielDias_Invision - 07.05.2015, 00:54
Re: SetTimer - by SrDonalds - 07.05.2015, 01:07
Re: SetTimer - by Krusheer - 07.05.2015, 01:16
Re: SetTimer - by SrDonalds - 07.05.2015, 01:21
Re: SetTimer - by Krusheer - 07.05.2015, 01:32

Forum Jump:


Users browsing this thread: 2 Guest(s)