[AJUDA]Tempo ate executar comando
#4

da pra fazer assim tb.

pawn Код:
new UsarComando[MAX_PLAYERS];


if(!strcmp("/vida", cmdtext))
{
    if(GetTickCount() - UsarComando[playerid] > 10000)
    {
        SetPlayerHealth(playerid,100);
        UsarComando[playerid] = GetTickCount();
    }
    else {
           SendClientMessage(playerid, 0xFFFFFFFF, "Tem que esperar 5 minutos para reusar este comando!");
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA]Tempo ate executar comando - by k1t0 - 26.10.2010, 21:53
Re: [AJUDA]Tempo ate executar comando - by KevinsL - 26.10.2010, 21:59
Re: [AJUDA]Tempo ate executar comando - by k1t0 - 27.10.2010, 20:53
Re: [AJUDA]Tempo ate executar comando - by smd_murilo - 27.10.2010, 21:04
Re: [AJUDA]Tempo ate executar comando - by k1t0 - 31.10.2010, 18:48
Re: [AJUDA]Tempo ate executar comando - by KevinsL - 31.10.2010, 18:56

Forum Jump:


Users browsing this thread: 3 Guest(s)