mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix vehiclelock weirdness
This commit is contained in:
parent
a730c25c88
commit
68a9a6157e
@ -5,14 +5,14 @@
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,false)])] call EFUNC(common,targetEvent)); \
|
||||
priority = 0.3; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
icon = QUOTE(PATHTOF(ui\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
class ACE_lockVehicle { \
|
||||
displayName = CSTRING(Action_Lock); \
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,true)])] call EFUNC(common,targetEvent)); \
|
||||
priority = 0.2; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
icon = QUOTE(PATHTOF(ui\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
class ACE_lockpickVehicle { \
|
||||
displayName = CSTRING(Action_Lockpick); \
|
||||
@ -29,7 +29,7 @@
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,false)])] call EFUNC(common,targetEvent)); \
|
||||
priority = 0.3; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
icon = QUOTE(PATHTOF(ui\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
class ACE_lockVehicle { \
|
||||
displayName = CSTRING(Action_Lock); \
|
||||
@ -37,7 +37,7 @@
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [_target], [ARR_2(_target,true)])] call EFUNC(common,targetEvent)); \
|
||||
priority = 0.2; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
icon = QUOTE(PATHTOF(ui\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
class ACE_lockpickVehicle { \
|
||||
displayName = CSTRING(Action_Lockpick); \
|
||||
@ -75,7 +75,7 @@ class CfgVehicles {
|
||||
scope = 2;
|
||||
isGlobal = 0;
|
||||
isSingular = 1;
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_VehicleLock_ca.paa));
|
||||
icon = QUOTE(PATHTOF(ui\Icon_Module_VehicleLock_ca.paa));
|
||||
functionPriority = 0;
|
||||
class Arguments {
|
||||
class LockVehicleInventory {
|
||||
@ -113,7 +113,7 @@ class CfgVehicles {
|
||||
function = QFUNC(moduleSync);
|
||||
scope = 2;
|
||||
isGlobal = 0;
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_VehicleKey_ca.paa));
|
||||
icon = QUOTE(PATHTOF(ui\Icon_Module_VehicleKey_ca.paa));
|
||||
functionPriority = 0;
|
||||
class Arguments {};
|
||||
class ModuleDescription: ModuleDescription {
|
||||
|
Loading…
Reference in New Issue
Block a user