Advertisement
Guest User

Untitled

a guest
Sep 9th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.61 KB | None | 0 0
  1. {
  2.     private _fnc_scriptNameParent = if (isNil '_fnc_scriptName') then {'OEC_fnc_akduDcGoCRRTISm'} else {_fnc_scriptName};
  3.     private _fnc_scriptName = 'OEC_fnc_akduDcGoCRRTISm';
  4.     scriptName _fnc_scriptName;
  5.  
  6. #line 1 "core\djqjzBorTfqtJSr\fn_akduDcGoCRRTISm.sqf [OEC_fnc_akduDcGoCRRTISm]"
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. 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;
  23. 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...";};
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement