[Ajuda] Colocar /admins em dialog
#1

Quero colocar o comando /admins no dialog.
Quote:

CMD:admins(playerid)
{
if(HaveAdminsOnline())
{
SendClientMessage(playerid,Rosa,"Admin(s) Online:");
new adm[15], ad[45];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Player[i][admin] != 0)
{
switch(Player[i][admin])
{
case 1: adm = "Novato";
case 2: adm = "Intermediario";
case 3: adm = "Veterano";
case 11: adm = "Dono";
case 10: adm = "Master";
}
format(ad,sizeof ad,"-> %s [%s]",GetName(i),adm);
SendClientMessage(playerid,Marrom,ad);
}
}
}
}
else SendClientMessage(playerid,Azul,"Nгo hб admins online!");
return 1;
}

Reply


Messages In This Thread
Colocar /admins em dialog - by viniciussantos664 - 11.07.2015, 17:44
Re: Colocar /admins em dialog - by JoaoMonteiro452 - 11.07.2015, 18:23
Re: Colocar /admins em dialog - by zSuYaNw - 11.07.2015, 18:34
Re: Colocar /admins em dialog - by ModaLOKO - 11.07.2015, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)