mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-07 00:32:55 +03:00
+ Increased raise horde distance to 65m. + decreased raise horde action timer to 7 seconds. + sync with 1.7.6.1 CE
23 lines
650 B
Plaintext
23 lines
650 B
Plaintext
private["_hasFood","_item","_text","_qty"];
|
|
|
|
player removeAction s_player_fillfuel;
|
|
s_player_fillfuel = -1;
|
|
|
|
_qty = {_x == "ItemJerrycanEmpty"} count magazines player;
|
|
|
|
if ("ItemJerrycanEmpty" in magazines player) then {
|
|
for "_x" from 1 to _qty do {
|
|
player removeMagazine "ItemJerrycanEmpty";
|
|
player addMagazine "ItemJerrycan";
|
|
};
|
|
player playActionNow "Medic";
|
|
|
|
_dis=10;
|
|
_sfx = "refuel";
|
|
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
|
|
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
|
|
|
cutText [format[(localize "str_player_09"),_qty], "PLAIN DOWN"];
|
|
} else {
|
|
cutText [(localize "str_player_10") , "PLAIN DOWN"];
|
|
}; |