Jump to content

Blue Pheonix Admin Tools problem!


darkfall211

Recommended Posts

Allright, did you also add

[] execVM "admintools\Activate.sqf";

to your mission init.sqf? (assuming you have the admintools folder in the same folder as the init.sqf file)

 

Edit: AdmintoolsMain.sqf needs your UID as well (at like 4 different lines), do you have that too?

Link to comment
Share on other sites

Yepp:
init.sqf :

//Admin Tools
[] execVM "admintools\Activate.sqf";

AdmintoolsMain.sqf :

_pathtotools = "admintools\tools\";
_pathtoskins = "admintools\skins\";
_pathtoweapon = "admintools\weaponkits\";
_pathtoshields = "admintools\shields\";
_pathtovehicles = "admintools\vehicles\";
_EXECscript1 = 'player execVM "'+_pathtotools+'%1"';
_EXECscript2 = 'player execVM "'+_pathtoskins+'%1"';
_EXECscript3 = 'player execVM "'+_pathtoweapon+'%1"';
_EXECscript4 = 'player execVM "'+_pathtoshields+'%1"';
_EXECscript5 = 'player execVM "'+_pathtovehicles+'%1"';
//customise these menus to fit your server
if ((getPlayerUID player) in ["MY UID"]) then { //all admins
	if ((getPlayerUID player) in ["MY UID"]) then { //mods
        adminmenu =
        [
			["",true],
				["Tools Menu", [2], "#USER:ModToolsMenu", -5, [["expression", ""]], "1", "1"],
				["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
				["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
				["", [-1], "", -5, [["expression", ""]], "1", "0"],
			["Exit", [13], "", -3, [["expression", ""]], "1", "1"]	
        ];};
	if ((getPlayerUID player) in ["MY UID"]) then { //admins
        adminmenu =
        [
			["",true],
				["Tools Menu", [2], "#USER:AdminToolsMenu", -5, [["expression", ""]], "1", "1"],
				["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
				["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
				["", [-1], "", -5, [["expression", ""]], "1", "0"],
			["Exit", [13], "", -3, [["expression", ""]], "1", "1"]	
        ];};
	if ((getPlayerUID player) in ["MY UID"]) then { // super admins
		adminmenu =
		[
			["",true],
				["Tools Menu", [2], "#USER:ToolsMenu", -5, [["expression", ""]], "1", "1"],
				["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
				["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
				["Shields Menu", [5], "#USER:ShieldMenu", -5, [["expression", ""]], "1", "1"],
				["Vehicle Menu", [6], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
				["", [-1], "", -5, [["expression", ""]], "1", "0"],
			["Exit", [13], "", -3, [["expression", ""]], "1", "1"]		
		];};
};
CODE CONTINUES...
Link to comment
Share on other sites

i did originally i changed

_playerMonitor = 	[] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

to 

playerMonitor = [] execFSM "admintools\playermonitor.fsm";

and it didnt let people low into the game

So i reverted the change but other than that.. No.

 

Did you want my mission PBO to take a look?

Link to comment
Share on other sites

i did originally i changed

_playerMonitor = 	[] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

to 

playerMonitor = [] execFSM "admintools\playermonitor.fsm";

and it didnt let people low into the game

So i reverted the change but other than that.. No.

 

Did you want my mission PBO to take a look?

I think i know your mistake... please post your init.sqf

 

EDIT: You can only put in your UID ino all admins and e. x. super admin not mod not admin.  Just 2 entries. Leave the rest blank.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...