25.06.2015, 23:13
like that?
i use dialog because look nice
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;
}