20.02.2015, 00:20
pawn Код:
if(strcmp(cmd, "/fixr", true) == 0)
{
if(IsPlayerConnected(playerid))
{
PlayerFixRadio(playerid);
}
return 1;
}
if(strcmp(cmd, "/horas", true) == 0)
{
if(IsPlayerConnected(playerid))
{
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 = "Marco"; }
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;
if (minuite < 10)
{