[Ajuda] Pagamento.
#3

pawn Код:
if(strcmp(cmd, "/payday", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >= 3000)
    {
    new mtext[20];
    new year, month,day;
    getdate(year, month, day);
    if(month == 1) { mtext = "Janeiro"; }
    else if(month == 2) { mtext = "Fevereiro"; }
    else if(month == 3) { mtext = "Marзo"; }
    else if(month == 4) { mtext = "Abril"; }
    else if(month == 5) { mtext = "Maio"; }
    else if(month == 6) { mtext = "Junho"; }
    else if(month == 7) { mtext = "Julho"; }
    else if(month == 8) { mtext = "Agosto"; }
    else if(month == 9) { mtext = "Setembro"; }
    else if(month == 10) { mtext = "Outubro"; }
    else if(month == 11) { mtext = "Novembro"; }
    else if(month == 12) { mtext = "Dezembro"; }
    new hour,minuite,second;
    gettime(hour,minuite,second);
    FixHour(hour);
    hour = shifthour;
    format(string, sizeof(string), "((Payday))  Hora: %d:%d", hour+1, minuite);
    SendClientMessage(playerid, COLOR_WHITE, string);
    PayDay();
    }
    else
    {
    SendClientMessage(playerid,COLOR_GREY, "[ERRO]Vocк nгo estб autorizado a usar este Comando!");
    }
    return 1;
    }
Reply


Messages In This Thread
[Ajuda] Pagamento. - by akZ - 10.07.2011, 20:03
Re: [Ajuda] Pagamento. - by Ricop522 - 10.07.2011, 20:09
Re: [Ajuda] Pagamento. - by akZ - 10.07.2011, 20:11
Re: [Ajuda] Pagamento. - by SuYaNw - 10.07.2011, 20:20
Re: [Ajuda] Pagamento. - by Ricop522 - 10.07.2011, 20:26
Re: [Ajuda] Pagamento. - by akZ - 10.07.2011, 20:30
Re: [Ajuda] Pagamento. - by Sr.Pekeno - 11.07.2011, 10:03
Re: [Ajuda] Pagamento. - by akZ - 11.07.2011, 13:28
Re: [Ajuda] Pagamento. - by Macintosh - 11.07.2011, 14:17
Re: [Ajuda] Pagamento. - by steki. - 11.07.2011, 14:37

Forum Jump:


Users browsing this thread: 2 Guest(s)