SA-MP Forums Archive
Help [+Rep] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help [+Rep] (/showthread.php?tid=363776)



Help [+Rep] - dundolina - 28.07.2012

Need me this command for 4 level admin :

Код:
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);
}



Re: Help [+Rep] - dundolina - 28.07.2012

Help?


Re: Help [+Rep] - lavamike - 28.07.2012

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..