Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if (_playerID == "") then {
_playerID = getPlayerUID _playerObj;};
_group1 = ["00000000000000000","11111111111111111"];
class ExtraRc {
class ItemToolbox {
class BuildBike {
text = "Deploy Bike";
script = "['Old_bike_TK_INS_EP1'] execVM 'Scripts\EVD\EVD_deploy.sqf'";
};
if ((_playerID) in _group1) then {
class BuildMotorcycle {
text = "Deploy Motorcycle";
script = "['TT650_Ins'] execVM 'Scripts\EVD\EVD_deploy.sqf'";
};
};
class bloodBagONEG {
class Use {
text = "Use Bloodbag";
script = "execVM 'Scripts\SelfBB.sqf'";
};
};
class glock17_EP1 {
class CommitSuicide {
text = "Commit Suicide";
script = "execVM ""Scripts\suicide.sqf"";";
};
};
etc......
etc......
etc......
Your always welcome and Thanks for the appreciation.Oh, and I also almost forgot to say hello to you old friend. Your expertise has helped me soooo much in the past,, you're a gent!! Thanks again
//EXTRA_RC.HPP
class ItemMachete {
//Clear Brush
class ClearGrass {
text = "Clear Grass";
script = "[] execVM ""scripts\crafting\clearbrush.sqf"";";
};
};
//UI_SELECTSLOT.SQF
// Add extra context menus
_erc_cfgActions = (missionConfigFile >> "ExtraRc" >> _item);
_erc_numActions = (count _erc_cfgActions);
if (isClass _erc_cfgActions) then {
for "_j" from 0 to (_erc_numActions - 1) do
{
_menu = _parent displayCtrl (1600 + _j + _numActions);
_menu ctrlShow true;
_config = (_erc_cfgActions select _j);
_text = getText (_config >> "text");
//-----------------COMPARE PLAYER UID WITH ALLOWED ACTION HERE ----------
//if Player is allowed {
_script = getText (_config >> "script");
_height = _height + (0.025 * safezoneH);
uiNamespace setVariable ['uiControl', _control];
_menu ctrlSetText _text;
_menu ctrlSetEventHandler ["ButtonClick",_script];
//}:----closing bracket of if statement
};
};