[duvida] Jeito simples de colocar tempo em comando.
#5

pawn Код:
new a_STR;
public OnPlayerCommandText(playerid, cmdtext[])
{

    a_STR = GetTickCount();
    if(a_STR - GetTickcount() < TEMPO_AQUI)
    {
        return SendClientMessage(playerid, -1,"Tempo para usar comados exedido, espere acabar.");
    }
    return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)