Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- private _fnc_scriptNameParent = if (isNil '_fnc_scriptName') then {'OEC_fnc_akduDcGoCRRTISm'} else {_fnc_scriptName};
- private _fnc_scriptName = 'OEC_fnc_akduDcGoCRRTISm';
- scriptName _fnc_scriptName;
- #line 1 "core\djqjzBorTfqtJSr\fn_akduDcGoCRRTISm.sqf [OEC_fnc_akduDcGoCRRTISm]"
- params[["_house",objNull,[objNull]]];if(eEivlBIujvllueN) exitWith{hint"You currently have an active transaction, please wait.";};if(isNull _house) exitWith{};if!(_house isKindOf"House_F") exitWith{};if(isNil{_house getVariable"house_owner"}) exitWith{hint"There is no owner for this house."};closeDialog 0;private _bVhLAHHfCbtIUJj=[(typeOf _house)]call OEC_fnc_eISzStgpdLMyHkm;if(count _bVhLAHHfCbtIUJj isEqualTo 0) exitWith{};private _action=[format[localize"STR_House_SellHouseMSG",(round((_bVhLAHHfCbtIUJj select 0)/2)) call OEC_fnc_BKVxOhNKvSUhSfB,(_bVhLAHHfCbtIUJj select 1)],localize"STR_pInAct_SellHouse",localize"STR_Global_Sell",localize"STR_Global_Cancel"]call BIS_fnc_guiMessage;
- if(_action) then{if(eEivlBIujvllueN) exitWith{hint"You currently have an active transaction, please wait.";};if(oev_lastSoldHouse isEqualTo _house) exitWith{hint"You cannot sell the same house multiple times! This is considered exploiting!";[format['{"event":"House Sell Exploit", "player":"%1", "player_id":"%2", "location":"%3"}',name player,getPlayerUID player,getPos player]]remoteExecCall["OES_fnc_ATPAwxGMxpwzgSt",2];};oev_lastSoldHouse=_house;eEivlBIujvllueN=true;OefaGQwBvMrSjlG=true;_house setVariable["house_sold",true,true];[_house,player]remoteExec["OES_fnc_lJOvuxdaCxDVJuz",2];hint"Sending sell request to realtor...";};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement