mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
Partial fix for issue #40
This commit is contained in:
parent
f222940c3c
commit
956d492d43
@ -23,7 +23,7 @@ _flagNetId = [_this,1,"",[""]] call BIS_fnc_param;
|
||||
_flag = objectFromNetId _flagNetId;
|
||||
_owner = owner _objVeh;
|
||||
|
||||
if!(_objVeh getVariable ["ExileIsPersistent", false])exitWith{[_requestFrom, "notificationRequest", ["Whoops", [STR_ExAd_VIRTUALGARAGE_NOTI_NOT_PERSISTENT]]] call ExileServer_system_network_send_to; false};
|
||||
if!(_objVeh getVariable ["ExileIsPersistent", false])exitWith{[_owner, "notificationRequest", ["Whoops", [STR_ExAd_VIRTUALGARAGE_NOTI_NOT_PERSISTENT]]] call ExileServer_system_network_send_to; false};
|
||||
|
||||
if!(_objVeh setOwner 2)exitWith{format["Get out of the vehicle before storing it."] remoteExec ["hint", _owner]; false};
|
||||
|
||||
|
@ -1,6 +1,10 @@
|
||||
#<img src="logo.png" alt="ExAd" width="200" />
|
||||
|
||||
# Changelog:
|
||||
## 16 . v0.7.6
|
||||
###Fixed
|
||||
* Progress bar height customizable (Grinder)
|
||||
*
|
||||
|
||||
## 160510 21:00 . v0.7.5
|
||||
###Fixed
|
||||
|
@ -12,9 +12,12 @@ XM8_VG_elChanged = {
|
||||
|
||||
_ref = _listCtrl lbData (lbCurSel _listCtrl);
|
||||
_data = {if(str (_x select 0) == _ref)exitWith{_x}}forEach ((objectFromNetId ExAdCurFlagNetId) getVariable["ExAdVGVeh",[]]);
|
||||
|
||||
_pic = getText(configFile >> "CfgVehicles" >> (_data select 1) >> "picture");
|
||||
ctrlSetText [_picCtrl, _pic];
|
||||
|
||||
["requestVGDetailInfo", [_ref, ExAdCurFlagNetId, (profileNamespace getVariable["ExAd_StreamFriendlyUI",0]), netId player, _strCtrl]] call ExAd_fnc_serverDispatch;
|
||||
if(!isNil "_data")then{
|
||||
_pic = getText(configFile >> "CfgVehicles" >> (_data select 1) >> "picture");
|
||||
ctrlSetText [_picCtrl, _pic];
|
||||
["requestVGDetailInfo", [_ref, ExAdCurFlagNetId, (profileNamespace getVariable["ExAd_StreamFriendlyUI",0]), netId player, _strCtrl]] call ExAd_fnc_serverDispatch;
|
||||
}else{
|
||||
ctrlSetText [_picCtrl, ""];
|
||||
["",_strCtrl] call ExAd_fnc_loadVGDetailView;
|
||||
}
|
||||
};
|
@ -37,6 +37,9 @@ _strTxtVehCnt = "SubTitle1Cnt" call _getControl;
|
||||
_strTxtVehCnt ctrlSetStructuredText parseText format ["<t size='1' align='right' color='%1'>%2/%3</t>",_strTxtVehCntColor,_storedVeh,_allowedVeh];
|
||||
|
||||
[(objectFromNetId ExAdCurFlagNetId) getVariable ["ExAdVGVeh", []],ctrlIDC ("StoreVehList" call _getControl)] call ExAd_fnc_fillVGList;
|
||||
for "_i" from 0 to 3 do {
|
||||
_index = lbAdd[ctrlIDC ("StoreVehList" call _getControl),""];
|
||||
};
|
||||
|
||||
[[_flag, ["Car","Air"],_flag getVariable ["ExileTerritorySize", 50]] call ExAd_fnc_getNearByLocalVeh,ctrlIDC ("NearVehicleList" call _getControl)] call ExAd_fnc_fillVGList;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user