Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- private _fnc_scriptNameParent = if (isNil '_fnc_scriptName') then {'RLSG_fnc_dropCash'} else {_fnc_scriptName};
- private _fnc_scriptName = 'RLSG_fnc_dropCash';
- scriptName _fnc_scriptName;
- #line 1 "core\functions\fn_dropCash.sqf [RLSG_fnc_dropCash]"
- params[["_amount",-1,[-1]],["_pos",[],[[]]]];if(count _pos!=3) exitWith{};if(_amount isEqualTo-1) exitWith{};if(_amount<1) exitWith{};private _moneyStack=createSimpleObject["Land_money_F",[0,0,0]];_moneyStack setPosATL _pos;_moneyStack setVariable["RepublicLife_DroppedItem",["RepublicLife_DroppedMoney",_amount],true];
- _moneyStack setVariable["RepublicLife_ItemOwner",[profileName,getPlayerUID player],true];[_moneyStack]remoteExecCall["RLSG_fnc_simDisable",0];[_amount,true]call RepublicLife_AC_Cash;[0]call RLSG_fnc_updatePartial;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement