Need me help for admin command [+REP]
#2

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;
}
Create a new filterscript and paste ^ code. Please Note that is a small part of the script. To set somebody level 4 admin you must learn using y_ini.
Reply


Messages In This Thread
Need me help for admin command [+REP] - by dundolina - 28.07.2012, 18:28
Re: Need me help for admin command [+REP] - by Alexis1999 - 28.07.2012, 18:36
Re: Need me help for admin command [+REP] - by dundolina - 28.07.2012, 18:50
Re: Need me help for admin command [+REP] - by Alexis1999 - 28.07.2012, 18:53
Re: Need me help for admin command [+REP] - by dundolina - 28.07.2012, 18:57
Re: Need me help for admin command [+REP] - by dundolina - 28.07.2012, 19:33
Re: Need me help for admin command [+REP] - by dundolina - 28.07.2012, 20:18
Re: Need me help for admin command [+REP] - by Devilxz97 - 28.07.2012, 20:58
Re: Need me help for admin command [+REP] - by Alexis1999 - 28.07.2012, 21:38
Re: Need me help for admin command [+REP] - by dundolina - 28.07.2012, 22:24

Forum Jump:


Users browsing this thread: 1 Guest(s)