Script: htt p://www . armaholic . com/page . php?id=9023
It's all working, but I need help setting so I every unit I place has the Command menu. Here's the script that activates the scripts menu.
if ( (!isServer) && (player != player) ) then{};
if !(isnull player) then {
if (player == lkcom) then {hint "you are LKCOM"};
nul = [lkcom] execVM "lk\menu\close_menu.sqf";
lkcom addeventhandler ["Killed", {_this execVM "lk\var\lkcom_respawn.sqf"}];
coin setpos (getpos hq1d);
coin setvariable ["BIS_COIN_rules",[lkcom],true];
};
If any one could help me set different names in the editor that would enable the menu. Thanks!