mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
16 lines
488 B
Plaintext
16 lines
488 B
Plaintext
private["_location","_isOk","_dir","_classname"];
|
|
private["_item"];
|
|
_item = _this;
|
|
call gear_ui_init;
|
|
|
|
if (["forest",dayz_surfaceType] call fnc_inString) then {
|
|
_result = [player,"PartWoodPile"] call BIS_fnc_invAdd;
|
|
if (_result) then {
|
|
cutText [localize "str_player_25", "PLAIN DOWN"];
|
|
} else {
|
|
cutText [localize "str_player_24", "PLAIN DOWN"];
|
|
};
|
|
_id = [player,20,true,(getPosATL player)] spawn player_alertZombies;
|
|
} else {
|
|
cutText [localize "str_player_23", "PLAIN DOWN"];
|
|
}; |