Compare commits

..

No commits in common. "16f086d09131f734d2126defd4f85a785d32fa62" and "f0337ca2adc95208b725be5991a63b86b4ff9b20" have entirely different histories.

2 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ class CfgVehicles {
}; };
// class openCompanyGarage { // class openCompanyGarage {
// displayName = "Open Company Garage"; // displayName = "Open Company Garage";
// condition = "!(isNil {cursorObject getVariable 'isGarage'}) && (player distance cursorObject) <= 5 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyShareholders"; // condition = "!(isNil {cursorObject getVariable 'isGarage'}) && (player distance cursorObject) <= 5 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyGenerals";
// exceptions[] = {}; // exceptions[] = {};
// statement = "[cursorObject] spawn forge_client_garage_fnc_openGarage"; // statement = "[cursorObject] spawn forge_client_garage_fnc_openGarage";
// icon = ""; // icon = "";
@ -53,7 +53,7 @@ class CfgVehicles {
}; };
// class openVirtualCompanyGarage { // class openVirtualCompanyGarage {
// displayName = "Virtual Company Garage"; // displayName = "Virtual Company Garage";
// condition = "!(isNil {cursorObject getVariable 'isGarage'}) && (player distance cursorObject) <= 5 && FORGE_VA_Enable == 1 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyShareholders"; // condition = "!(isNil {cursorObject getVariable 'isGarage'}) && (player distance cursorObject) <= 5 && FORGE_VA_Enable == 1 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyGenerals";
// exceptions[] = {}; // exceptions[] = {};
// statement = "[cursorObject] spawn forge_client_arsenal_fnc_openGarage"; // statement = "[cursorObject] spawn forge_client_arsenal_fnc_openGarage";
// icon = ""; // icon = "";
@ -74,7 +74,7 @@ class CfgVehicles {
}; };
// class openCompanyLocker { // class openCompanyLocker {
// displayName = "Open Company Locker"; // displayName = "Open Company Locker";
// condition = "!(isNil {cursorObject getVariable 'isLocker'}) && (player distance cursorObject) <= 5 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyShareholders"; // condition = "!(isNil {cursorObject getVariable 'isLocker'}) && (player distance cursorObject) <= 5 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyGenerals";
// exceptions[] = {}; // exceptions[] = {};
// statement = "[cursorObject] spawn forge_client_locker_fnc_openLocker"; // statement = "[cursorObject] spawn forge_client_locker_fnc_openLocker";
// icon = ""; // icon = "";
@ -88,7 +88,7 @@ class CfgVehicles {
}; };
// class openVirtualCompanyArmory { // class openVirtualCompanyArmory {
// displayName = "Virtual Company Armory"; // displayName = "Virtual Company Armory";
// condition = "!(isNil {cursorObject getVariable 'isLocker'}) && (player distance cursorObject) <= 5 && FORGE_VA_Enable == 1 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyShareholders"; // condition = "!(isNil {cursorObject getVariable 'isLocker'}) && (player distance cursorObject) <= 5 && FORGE_VA_Enable == 1 && FORGE_Team_Coord == 1 && (getPlayerUID player) in companyGenerals";
// exceptions[] = {}; // exceptions[] = {};
// statement = "[cursorObject] spawn forge_client_arsenal_fnc_openArmory"; // statement = "[cursorObject] spawn forge_client_arsenal_fnc_openArmory";
// icon = ""; // icon = "";

View File

@ -50,7 +50,7 @@ FORGE_InteractionItems = [
[ [
["!(isNil { ["!(isNil {
cursorObject getVariable 'isCPOF' cursorObject getVariable 'isCPOF'
})", "(player distance cursorObject) <= 5 && (getPlayerUID player) in companyShareholders"], })", "(player distance cursorObject) <= 5 && (getPlayerUID player) in companyGenerals"],
["Access CPOF", "[cursorObject] spawn forge_client_admin_fnc_openAdmin"] ["Access CPOF", "[cursorObject] spawn forge_client_admin_fnc_openAdmin"]
], ],
[ [
@ -78,7 +78,7 @@ if (FORGE_Team_Coord == 1) then {
[ [
["!(isNil { ["!(isNil {
cursorObject getVariable 'isGarage' cursorObject getVariable 'isGarage'
})", "(player distance cursorObject) <= 5 && (getPlayerUID player) in companyShareholders"], })", "(player distance cursorObject) <= 5 && (getPlayerUID player) in companyGenerals"],
["Open Company Garage", "[cursorObject] spawn forge_client_garage_fnc_openGarage"] ["Open Company Garage", "[cursorObject] spawn forge_client_garage_fnc_openGarage"]
] ]
]; ];