this setVariable ["cannot_rent_vehicle",true];
life_veh_shop = [_shop,_spawnpoints,_shopFlag,_disableBuy];
life_veh_shop = [_shop,_spawnpoints,_shopFlag,_disableBuy,((_this select 0) getVariable ["cannot_rent_vehicle",false])];
class RentCar: Life_RscButtonMenu {
idc = -1;
class RentCar: Life_RscButtonMenu {
idc = 2310;
this setVariable ["cannot_rent_vehicle",true];
life_veh_shop = [_shop,_spawnpoints,_shopFlag,_disableBuy];
life_veh_shop = [_shop,_spawnpoints,_shopFlag,_disableBuy,((_this select 0) getVariable ["cannot_rent_vehicle",false])];
class RentCar: Life_RscButtonMenu {
idc = -1;
class RentCar: Life_RscButtonMenu {
idc = 2310;
if (life_veh_shop select 4) then {
ctrlEnable [2310,false];
} else {
ctrlEnable [2310,true];
};