mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #722 from Ignatz-HeMan/patch-5
Set damage to value, not to 0
This commit is contained in:
commit
17762afbdc
@ -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…
x
Reference in New Issue
Block a user