P0k3r_OF_Sm0t Posted May 13, 2015 Report Share Posted May 13, 2015 I think a quick and easy solution may just be to remove/comment out: // remove all magazines _magazines = _vehicle magazinesTurret _turret; { _vehicle removeMagazineTurret [_x, _turret]; } forEach _magazines; from service_point_rearm.sqf I haven't had a lot of time to test this yet, but it seems to work. This will allow people to have more ammo than what the vehicle allows though; mor It does work, it's not perfect but it works. You can load up to 6 mags but it's 1,000,000 coins to reload 1 mag on my server so if they want to spend 6 mil that's fine. I can live with that. Thanks UPDATE: After a little more testing, I have gotten it working perfectly. You only need to comment out or remove this line: _magazines = _vehicle magazinesTurret _turret; in service_point_rearm.sqf right under: // remove all magazines (for the bigger noobs than me, make it look like below) // remove all magazines //_magazines = _vehicle magazinesTurret _turret; { _vehicle removeMagazineTurret [_x, _turret]; } forEach _magazines; Now can rearm any weapon with however many magazines you specify in the: _rearm_magazineCount = 1; line in service_point.sqf This will not allow you to reload any more magazines than what is specified in the magazine count as well. Which is friggin awesome! You can click rearm a 2nd time and it will take your coins but it not add any more ammo to the vehicle :) Unless of course the vehicles magazine is not full. Enjoy! And thanks Outlander too! AGAIN, in case anyone missed it, This will allow you to reload any vehicles ammo and it does not take away from the other magaizes on the vehicle. IE: Relaod hydras on your heli and still keep your flares!!!, Reload bombs on your jet and still have a cannon!!<-- Haven't actually tested jet yet but see no reason why it would be any different. Link to comment Share on other sites More sharing options...
Thug Posted June 26, 2015 Report Share Posted June 26, 2015 so i installed this script and it will not work. the menu comes up showing refuel and repair but will not work. I get this in the RPT if !([ player,_costs select 1] call SC_fnc_removeCoins) then { _textMissing > Error position: <SC_fnc_removeCoins) then { _textMissing > Error Undefined variable in expression: sc_fnc_removecoins File mpmissions\__CUR_MP.tavi\service_point\service_point_refuel.sqf, line 15 Error in expression <; Link to comment Share on other sites More sharing options...
jitithree Posted March 28, 2016 Report Share Posted March 28, 2016 If I refill any weapon, all other weapons become empty, or not accessible at all Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now