[Pedido] Mensagen
#7

Quote:
Originally Posted by giovanehen
Посмотреть сообщение
Eae gente queria um codigo tipo o player loga no servidor


Tipo ele loga das 00:00 ate as 06:00 da manha Manda uma mensagen no meio da tela tipo Boa Madrugada

Das 06:00 ate 12:00 Bom Dia

13:00 17:00 Boa tarde

17:00 00:00 Boa noite
Sу adc no OnPlayerConnect jб que й quando loga.
pawn Код:
public OnPlayerConnect(playerid) {
    new Hor; gettime(Hor);
    switch(Hor) {
        case 0..5: SendClientMessage(playerid, -1, "{ffff00}Boa madrugada!");
        case 6..11: SendClientMessage(playerid, -1, "{ffff00}Bom dia!");
        case 12..17: SendClientMessage(playerid, -1, "{ffff00}Boa tarde!");
        case 18..23: SendClientMessage(playerid, -1, "{ffff00}Boa noite!");
    }
    return 1;
}
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)