Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private"_value";if((time-life_action_delay)<1.5) exitWith{["You're doing it too fast!",true,"fast"]call RR_fnc_notificationSystem;["",true,"fast"]call RR_fnc_notificationSystem;_this setVariable["RR_inUse",nil,true]};if(isNull _this||{player distance _this>3}) exitWith{_this setVariable["RR_inUse",nil,true];};_value=((_this getVariable"RR_item") select 1);if(!isNil"_value") exitWith{deleteVehicle _this;switch(true) do{case(_value>20000000):{_value=250000;};case(_value>10000000):{_value=250000;};default{};};player playMove"AinvPknlMstpSlayWrflDnon";
- titleText[format[localize"STR_NOTF_PickedMoney",[_value]call RR_fnc_numberToString],"PLAIN"];RR_treasure=RR_treasure+_value;private _text=format["+ £%1, Picked up money.",[_value]call RR_fnc_numberToString];RR_Interactions pushBack _text;[0]call RR_fnc_updatePartial;life_action_delay=time;[]call RR_fnc_hudUpdate;_log=format["%1 - %2 picked up £%3 from the ground. Bank Balance: £%4 On Hand Balance £%5",profileName,(getPlayerUID player),[_value]call RR_fnc_numberToString,[RR_chest]call RR_fnc_numberToString,[RR_treasure]call RR_fnc_numberToString];[_log,"Money"]remoteExecCall["A3Log",2];};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement