[Pedido] Mensagen
#3

pawn Код:
public OnPlayerConnect(playerid)
{
    PTCump(playerid);
    return 1;
}

PTCump(playerid)
{
    new Hour;// hora
    gettime(Hour);//Geta a hora
    switch(Hour)
    {
        case 0..5:
            GameTextForPlayer(playerid, "~b~Boa Madruga", 5000, 1);
        case 6..11:
            GameTextForPlayer(playerid, "~b~Bom Dia ", 5000, 1);
        case 12..18:
            GameTextForPlayer(playerid, "~b~Boa Tarde ", 5000, 1);
        case 19..23:
            GameTextForPlayer(playerid, "~b~Boa Noite" ,5000, 1);
    }
    return true;
}
Reply


Messages In This Thread
Mensagen - by giovanehen - 09.03.2014, 23:36
Re: Mensagen - by Schocc - 09.03.2014, 23:54
Re: Mensagen - by PT - 09.03.2014, 23:57
Re: Mensagen - by WLSF - 09.03.2014, 23:58
Re: Mensagen - by giovanehen - 10.03.2014, 14:16
Re: Mensagen - by yNexus - 10.03.2014, 15:11
Re: Mensagen - by Locky_ - 10.03.2014, 15:57
Re: Mensagen - by giovanehen - 12.03.2014, 01:43
Re: Mensagen - by Schocc - 12.03.2014, 02:01
Re: Mensagen - by GHLEMES - 12.03.2014, 19:14

Forum Jump:


Users browsing this thread: 2 Guest(s)