

Lynxman
Member-
Content Count
3 -
Joined
-
Last visited
-
Medals
-
GEORGE FLOROS GR started following Lynxman
-
[Release] Virtual Arsenal Shop System
Lynxman replied to 7erra's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hello guys if anyone want use this script with Ravage mod this the how you can use currency Ravage with VSS script this code by @7erra tested and its working fn_VASShandler.sqf /* Author: 7erra <https://forums.bohemia.net/profile/1139559-7erra/> Description: VASS calls this function when certain events happen. Add your own code to change behaviour. (Similar to BIS_fnc_callScriptedEventHandler) Parameter(s): 0: STRING - Mode in which the functions is called 1: ARRAY - Passed arguments Returns: See sub functions */ params ["_mode",["_this",[]]]; switch _mode do { case "getMoney":{ /* Description: VASS wants to know how much money the unit has Parameter(s): 0: OBJECT - Unit whose money is requested Has to return: NUMBER - Unit's money */ params ["_unit"]; {_x == "rvg_money"} count (magazines player) }; case "setMoney":{ /* Description: VASS changes the amount of money the player has Parameter(s): 0: OBJECT - Unit whose money will be changed 1: NUMBER - Amount of money changed (can be positive or negative) Has to return: Nothing */ params ["_unit", "_change"]; if (_change < 0) then { for "_i" from 1 to (abs _change) do { player removeItem "rvg_money"; }; } else { for "_i" from 1 to _change do { player addItem "rvg_money"; }; }; }; }; -
Hello😊 can you guys help i want use [HG] Simple Shops on ravage mod, the problem im facing now 😕 i cant figure out how i can fix currency. how i can make the simple shops script use ravage currency thank you
-
Lynxman started following [Release] Simple Weapon Shop System
-
[Release] Simple Weapon Shop System
Lynxman replied to hoverguy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hoverguy thank for the amazing script i really like it and i used it on many missions. but yesterday i tried to add your script to Ravage mod the problem i got i cant figure out how to use ravage currency as default currency for the shop script thank you