mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Set damage to value, not to 0
All Scripts are using as params ['ALL',0]. With this change it is possible to set the damage to a value (0 for all actual scripts).
This commit is contained in:
parent
ff13d929ec
commit
c376ee2809
@ -18,7 +18,7 @@ if !([_player, _token] call EPOCH_server_getPToken) exitWith{};
|
||||
if (_player distance _vehicle > 20) exitWith{};
|
||||
|
||||
if ((_value select 0) isEqualTo "ALL") then {
|
||||
_vehicle setDamage 0;
|
||||
_vehicle setDamage (_value select 1);
|
||||
} else {
|
||||
if (local _vehicle) then {
|
||||
_vehicle setHitIndex _value;
|
||||
|
Loading…
Reference in New Issue
Block a user