mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
Syntax
This commit is contained in:
parent
832d0711d3
commit
d2decd446e
@ -11,7 +11,7 @@
|
|||||||
Returns: BOOLEAN - true if no errors occured
|
Returns: BOOLEAN - true if no errors occured
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private ["_r","_p","_w","_a","_bin"];
|
private [("_r"),("_p"),("_w"),("_a"),("_bin")];
|
||||||
_u = param [0,objNull,[objNull]];
|
_u = param [0,objNull,[objNull]];
|
||||||
if not (isNull _u) then
|
if not (isNull _u) then
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,7 @@ _r = false;
|
|||||||
if ([(_this0),(_this1)] call VEMFr_fnc_playerNear) then { _r = true }
|
if ([(_this0),(_this1)] call VEMFr_fnc_playerNear) then { _r = true }
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
private ["_t","_tot"];
|
private [("_t"),("_tot")];
|
||||||
_t = round time;
|
_t = round time;
|
||||||
_tot = ("timeOutTime" call VEMFr_fnc_config)*60;
|
_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} };
|
waitUntil { if (([(_this0),(_this1)] call VEMFr_fnc_playerNear) OR (round time - _t > _tot)) then {true} else {uiSleep 4; false} };
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
private ["_crWpn","_cfg"];
|
private [("_crWpn"),("_cfg")];
|
||||||
if (vehicle _k isEqualTo _k) then { _crWpn = currentWeapon _k; _cfg = "CfgWeapons" }
|
if (vehicle _k isEqualTo _k) then { _crWpn = currentWeapon _k; _cfg = "CfgWeapons" }
|
||||||
else { _crWpn = typeOf (vehicle _k); _cfg = "CfgVehicles" };
|
else { _crWpn = typeOf (vehicle _k); _cfg = "CfgVehicles" };
|
||||||
_dist = _t distance _k;
|
_dist = _t distance _k;
|
||||||
|
Loading…
Reference in New Issue
Block a user