/admin command Grouped -
SkyWinder - 25.06.2015
Hello,
I need help with an /admin command.
I want it to look like
Moderators - <name1>, <name2>, <name3>, <name4> If more than 5 names then next line
Moderators - <name1>, <name2>, <name3>, <name4>
Administrators - <name1>, <name2>, <name3>, <name4> If more than 5 names then next line
Administrators - <name1>, <name2>, <name3>, <name4>
Managers - <name1>, <name2>, <name3>, <name4> If more than 5 names then next line
Managers - <name1>, <name2>, <name3>, <name4>
All I could make is
<Staff> <Name1> - Mod
<Staff> <Name2> - Admin
<Staff> <Name3> - Admin
<Staff> <Name4> - Admin
Please help me with this. I tried searching for the forum for this but I could not find it anywhere.
Re: /admin command Grouped -
kloning1 - 25.06.2015
like that?
i use dialog

because look nice
pawn Код:
CMD:acmds(playerid)
{
new acmdstring[300];
if(pInfo[playerid][pAdminLevel] >= 1)
{
strcat(acmdstring,"Trial Moderator: /codes /cw /unfreeze /kick \n"); // JUST EXLAMPE
strcat(acmdstring,"Trial Moderator: /spec /aduty /warn /aduty \n");// JUST EXLAMPE
strcat(acmdstring,"Trial Moderator: /mute /slap /akill /checkhp \n");// JUST EXLAMPE
}
if(pInfo[playerid][pAdminLevel] >= 2)
{
strcat(acmdstring,"Moderator: /setweather /ip /nuke /areaduty\n");// JUST EXLAMPE
strcat(acmdstring,"Moderator: /ounban /oban/jail /unjail \n");// JUST EXLAMPE
strcat(acmdstring,"Moderator: /warn /spec /specoff /aheli \n");// JUST EXLAMPE
}
// NEXT ADMIN LEVEL
ShowPlayerDialog(playerid,99,DIALOG_STYLE_MSGBOX,"ADMIN COMMANDS",acmdstring,"Close","");
return 1;
}
Re: /admin command Grouped -
SkyWinder - 25.06.2015
Thats the /adminhelp commands.
I want the /admins to show the online admins but grouped. See example below.
Moderators - <name1>, <name2>, <name3>, <name4> If more than 5 names then next line
Moderators - <name1>, <name2>, <name3>, <name4>
Administrators - <name1>, <name2>, <name3>, <name4> If more than 5 names then next line
Administrators - <name1>, <name2>, <name3>, <name4>
Managers - <name1>, <name2>, <name3>, <name4> If more than 5 names then next line
Managers - <name1>, <name2>, <name3>, <name4>
Re: /admin command Grouped -
kloning1 - 25.06.2015
can not be possible, because it would duplicate the name admin
Re: /admin command Grouped -
SkyWinder - 25.06.2015
It is possible.
See image