// shop/sqf: Dummy store shopKeep addAction ["buy LYNX - $100", { if (cash >= 100) then { _unit = (_this select 1); _UID = getPlayerUID _unit; _unit addWeapon "srifle_GM6_F"; cash = cash - 100; null = [_UID] execVM "scripts\AEGIS\Database\saveData.sqf"; } else { systemChat "Not enough cash!" }; }];