26.09.2016, 15:04
(
Последний раз редактировалось MorF; 26.09.2016 в 16:20.
)
Olб a todos, Estou inciando agora e nгo entendendo muito, estou tentando ir aprendendo aos poucos, Queria saber se alguma alma caridosa tem como me ajudar a como colocar o comando /moderadores em dialog, Quem estiver disposto a ajuda agradeзo muito.
Код:
if(strcmp(cmdtext, "/Moderadores", true) == 0){
SendClientMessage(playerid,0x00FF40AA, ".:: BVB - Moderadores Online - BVB::.");
SendClientMessage(playerid,adm, "Brutos (0)");
foreach(Player, i)
{
if(Guardiao[i]){
new pname[24];
GetPlayerName(i, pname, 24);
format(file2, sizeof(file2), PASTA_CONTAS, pname);
if(Guardiao[i] == 1){
format(STRX,sizeof(STRX),"%s (%d) Horas Online %s%i:%s%i:%s%i",pname ,i,(HorasOnline[i] < 10) ? ("0"):(""),HorasOnline[i],(MinutosOnline[i] < 10) ? ("0"):(""),MinutosOnline[i],(SegundosOnline[i] < 10) ? ("0"):(""),SegundosOnline[i]);
}
SendClientMessage(playerid, adm, STRX);
}
}
return 1;
}



