Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastRoping - Add rope items which deploy at lengths #6498

Merged
merged 14 commits into from
Jan 12, 2019
10 changes: 5 additions & 5 deletions addons/fastroping/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,35 +52,35 @@ class CfgVehicles {
};
class ACE_deployRopes12 {
displayName = CSTRING(Interaction_deployRopes12);
condition = QUOTE((('ACE_rope12' in (backpackItems _player)) || ('ACE_rope12' in (ItemCargo vehicle _player))) && [_player, vehicle _player] call FUNC(canDeployRopes));
condition = QUOTE([_player, vehicle _player] call FUNC(canDeployRopes) && (('ACE_rope12' in (backpackItems _player)) || ('ACE_rope12' in (ItemCargo vehicle _player))));
PabstMirror marked this conversation as resolved.
Show resolved Hide resolved
PabstMirror marked this conversation as resolved.
Show resolved Hide resolved
statement = QUOTE([QGVAR(deployRopes), [vehicle _player, 12]] call CBA_fnc_serverEvent);
showDisabled = 0;
priority = 1;
};
class ACE_deployRopes15 {
displayName = CSTRING(Interaction_deployRopes15);
condition = QUOTE((('ACE_rope15' in (backpackItems _player)) || ('ACE_rope15' in (ItemCargo vehicle _player))) && [_player, vehicle _player] call FUNC(canDeployRopes));
condition = QUOTE([_player, vehicle _player] call FUNC(canDeployRopes) && (('ACE_rope15' in (backpackItems _player)) || ('ACE_rope15' in (ItemCargo vehicle _player))));
statement = QUOTE([QGVAR(deployRopes), [vehicle _player, 15]] call CBA_fnc_serverEvent);
showDisabled = 0;
priority = 1;
};
class ACE_deployRopes18 {
displayName = CSTRING(Interaction_deployRopes18);
condition = QUOTE((('ACE_rope18' in (backpackItems _player)) || ('ACE_rope18' in (ItemCargo vehicle _player))) && [_player, vehicle _player] call FUNC(canDeployRopes));
condition = QUOTE([_player, vehicle _player] call FUNC(canDeployRopes) && (('ACE_rope18' in (backpackItems _player)) || ('ACE_rope18' in (ItemCargo vehicle _player))));
statement = QUOTE([QGVAR(deployRopes), [vehicle _player, 18]] call CBA_fnc_serverEvent);
showDisabled = 0;
priority = 1;
};
class ACE_deployRopes27 {
displayName = CSTRING(Interaction_deployRopes27);
condition = QUOTE((('ACE_rope27' in (backpackItems _player)) || ('ACE_rope27' in (ItemCargo vehicle _player))) && [_player, vehicle _player] call FUNC(canDeployRopes));
condition = QUOTE([_player, vehicle _player] call FUNC(canDeployRopes) && (('ACE_rope27' in (backpackItems _player)) || ('ACE_rope27' in (ItemCargo vehicle _player))));
statement = QUOTE([QGVAR(deployRopes), [vehicle _player, 27]] call CBA_fnc_serverEvent);
showDisabled = 0;
priority = 1;
};
class ACE_deployRopes36 {
displayName = CSTRING(Interaction_deployRopes36);
condition = QUOTE((('ACE_rope36' in (backpackItems _player)) || ('ACE_rope36' in (ItemCargo vehicle _player))) && [_player, vehicle _player] call FUNC(canDeployRopes));
condition = QUOTE([_player, vehicle _player] call FUNC(canDeployRopes) && (('ACE_rope36' in (backpackItems _player)) || ('ACE_rope36' in (ItemCargo vehicle _player))));
statement = QUOTE([QGVAR(deployRopes), [vehicle _player, 36]] call CBA_fnc_serverEvent);
showDisabled = 0;
priority = 1;
Expand Down