Код:
dcmd_interiormenu(playerid, params[])
{
#pragma unused params
/*
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF60000AA, "Only Admins Can Use This Command!");
else // Uncomment for RCON admins to use only ...
*/
return ShowPlayerDialog(playerid, INTERIORMENU, DIALOG_STYLE_LIST, "WestSide Interior Menu","24/7's\nAirports\nAmmunations\nHouses\nHouses 2\nMissions\nStadiums\nCasinos\nShops\nGarages\nGirlfriends\nClothing/Barber Store\nResturants/Clubs\nNo Category\nBurglary\nBurglary 2\nGym\nDepartment\nWorld Locations", "Select", "Cancel");
}
dcmd_intmenu(playerid, params[]) return dcmd_interiormenu(playerid, params);
dcmd_saveex(playerid, params[])
{
/*
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF60000AA, "Only Admins Can Use This Command!");
else // Uncomment for RCON admins to use only ...
*/
return SaveLocation(playerid, params);
}
I'm guessing you want to change the IsPlayerAdmin to work with whatever admin system your using for level 4 admins? However we'd need to know what admin system you're using..