[Ajuda] Get Tempo
#2

tenta algo assim

pawn Код:
stock GetTempo2()
{
    new hora = gettime(hora);
   
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(hora >= 6 && hora <= 12)
        {
            SendClientMessage(i, 0xFFFFFFAA, "Bom dia");
        }
        else if(hora >= 13 && hora <= 18)
        {
            SendClientMessage(i, 0xFFFFFFAA, "Bom Tarde");
        }
        else if(hora >= 19 && hora <= 5)
        {
            SendClientMessage(i, 0xFFFFFFAA, "Bom Noite");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Get Tempo - by BielCOP - 29.05.2013, 21:45
Re: Get Tempo - by PT - 29.05.2013, 22:09
Re: Get Tempo - by mau.tito - 29.05.2013, 22:53
Re: Get Tempo - by Don_Speed - 30.05.2013, 00:24
Respuesta: Re: Get Tempo - by Parka - 30.05.2013, 01:41

Forum Jump:


Users browsing this thread: 1 Guest(s)