08.04.2016, 16:13
You can use an if-else-statement. Considering that a /help command handles no variables and thus doesn't need any formatting:
So basically you've got two completely different dialogs with each a different ID.
PHP код:
if(AdminLevel[playerid] > 0) {
// Replace 'AdminLevel[playerid]' with w/e the variable name is that you store the admin level in.
// Admin level > 0, player is an admin.
ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_LIST, "HELP", "Player commands\nAdmin Commands", "Choose", "Close");
}
else {
// Admin level == 0 or < 0, player is not an admin.
ShowPlayerDialog(playerid, OTHER_DIALOG_ID, DIALOG_STYLE_LIST, "HELP", "Player commands", "Continue", "Close");
}