28.07.2012, 18:28
I want to do this command for admin level 4, but I do not know how. Please someone if you can make me command admin lvl 4.
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, EDITOR_CMD, true)) { #if defined ADMIN_ONLY if(!IsPlayerAdmin(playerid)) return 1; #endif ShowPlayerDialog(playerid, DIALOG_MAIN_MENU, DIALOG_STYLE_LIST, "WestSide Object Editor", "Create object\nSearch object models\nDelete object\nEdit object\nSave object\nLoad objects", "Select", "Cancel"); return 1; } return 0; }