11.07.2015, 17:44
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; } |