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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...