This commit is contained in:
IT07 2016-08-06 18:32:20 +02:00
parent 832d0711d3
commit d2decd446e
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
Returns: BOOLEAN - true if no errors occured
*/
private ["_r","_p","_w","_a","_bin"];
private [("_r"),("_p"),("_w"),("_a"),("_bin")];
_u = param [0,objNull,[objNull]];
if not (isNull _u) then
{

View File

@ -22,7 +22,7 @@ _r = false;
if ([(_this0),(_this1)] call VEMFr_fnc_playerNear) then { _r = true }
else
{
private ["_t","_tot"];
private [("_t"),("_tot")];
_t = round time;
_tot = ("timeOutTime" call VEMFr_fnc_config)*60;
waitUntil { if (([(_this0),(_this1)] call VEMFr_fnc_playerNear) OR (round time - _t > _tot)) then {true} else {uiSleep 4; false} };

View File

@ -15,7 +15,7 @@
];
private ["_crWpn","_cfg"];
private [("_crWpn"),("_cfg")];
if (vehicle _k isEqualTo _k) then { _crWpn = currentWeapon _k; _cfg = "CfgWeapons" }
else { _crWpn = typeOf (vehicle _k); _cfg = "CfgVehicles" };
_dist = _t distance _k;