You could simply add a compare of the playersUID with ones of an array of the Admin ones like in AdminTools etc at the fn_selfactions.sqf
Then only the admins will have the scrollwheel menu. Maybe like that (untested)
change to
Simply replace ADMINPLAYERUID and ADMINPLAYERUID2 with the playerUIDs of your admins.
Then only the admins will have the scrollwheel menu. Maybe like that (untested)
Code:
//Build Recipe Menu Action
if((speed player <= 1) && hasBuildItem && _canDo) then {
if (s_player_recipeMenu < 0) then {
s_player_recipeMenu = player addaction [("<t color=""#0074E8"">" + ("Build Recipes") +"</t>"),"buildRecipeBook\build_recipe_dialog.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_recipeMenu;
s_player_recipeMenu = -1;
};
change to
Code:
//Build Recipe Menu Action
if((speed player <= 1) && hasBuildItem && _canDo && ((getPlayerUID player) in ["ADMINPLAYERUID","ADMINPLAYERUID2"])) then {
if (s_player_recipeMenu < 0) then {
s_player_recipeMenu = player addaction [("<t color=""#0074E8"">" + ("Build Recipes") +"</t>"),"buildRecipeBook\build_recipe_dialog.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_recipeMenu;
s_player_recipeMenu = -1;
};
Simply replace ADMINPLAYERUID and ADMINPLAYERUID2 with the playerUIDs of your admins.