I use script from arma 2 server, and when i install on epoch mod server, i got errors in server log rpt like this:
19:19:29 File mpmissions\DayZ_Epoch_11.Chernarus\scripts\radiation.sqf, line 12 19:19:30 Error in expression <; { _Dr_hx = 0; _zr = player distance _x; if (_zr < (if (isnil {_x getvaria> 19:19:30 Error position: <_x; if (_zr < (if (isnil {_x getvaria> 19:19:30 Error Undefined variable in expression: _x
19:19:28 File mpmissions\DayZ_Epoch_11.Chernarus\scripts\emi.sqf, line 19 19:19:29 Error in expression <; { _Dr_hx = 0; _zr = player distance _x; if (_zr < (if (isnil {_x getvaria> 19:19:29 Error position: <_x; if (_zr < (if (isnil {_x getvaria> 19:19:29 Error Undefined variable in expression: _x
19:19:38 File mpmissions\DayZ_Epoch_11.Chernarus\scripts\UPSMON\common\MON_functions.sqf, line 1596 19:19:39 Error in expression <; { _Dr_hx = 0; _zr = player distance _x; if (_zr < (if (isnil {_x getvaria> 19:19:39 Error position: <_x; if (_zr < (if (isnil {_x getvaria> 19:19:39 Error Undefined variable in expression: _x
I think it happend because i use in my scripts this:
_zr = player distance _x;
{_x setfuel 0;} forEach _array;
{if (isplayer _x && alive _x) exitwith {_isplayer = true;}}foreach _OCercanos;
How I can fix it?
Scripts: http://rghost.ru/57750105