Jump to content
  • 0

Gold Coins on WAI


Blake2394

Question

2 answers to this question

Recommended Posts

  • 0

 

Look for spawn_group.sqf in the WAI compile folder

 

Add

            _cash = round(random 20) * 1000; // number between 0 and 20 000
            _unit setVariable["CashMoney",_cash ,true];

 

Under

            _unit addweapon _weapon;
            _unit selectWeapon _weapon;

 

Like this

 

        if (!_unarmed) then {
            for "_i" from 1 to _mags do {
                _unit addMagazine _magazine;
            };
            _unit addweapon _weapon;
            _unit selectWeapon _weapon;
            _cash = round(random 20) * 1000; // number between 0 and 20 000
            _unit setVariable["CashMoney",_cash ,true];
        };

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...