28.07.2012, 18:36
pawn Код:
#include <a_samp>
#include <zcmd>
#define DIALOG_MAIN_MENU 6000
enum pData
{
AdminLevel,
}
new PlayerInfo[MAX_PLAYERS][pData];
CMD:editorcmd(playerid, params[])
{
if( PlayerInfo[playerid][AdminLevel] > 4 )
return 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;
}