[Pedido] Mensagen
#6

Topo do GM

PHP код:
#define     MensagemFormatada(%1,%2,%3,%4) do{format(gstring,sizeof(gstring),%3,%4 );SendClientMessage(%1,%2,gstring );}while(IsPlayerConnected(-1)) 
PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    new    
hora,    minuto,    segundo;
    
gettimehoraminutosegundo );
    if( 
hora >= && hora <= )
    {
        
MensagemFormatadaplayerid0x008FCCFF"••••• {FFFFFF}Boa noite %s"PlayerNameplayerid ));
    }
    if( 
hora >= && hora <= 11 )
    {
        
MensagemFormatadaplayerid0x008FCCFF"••••• {FFFFFF}Bom dia %s"PlayerNameplayerid ));
    }
    if( 
hora >= 12 && hora <= 17 )
     {
         
MensagemFormatadaplayerid0x008FCCFF"••••• {FFFFFF}Boa tarde %s"PlayerNameplayerid ));
    }
    if( 
hora >= 18 && hora <= 23 )
     {
        
MensagemFormatadaplayerid0x008FCCFF"••••• {FFFFFF}Boa noite %s"PlayerNameplayerid ));
    }
    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)