Jump to content
El' Rabito

Cargo Weapon Attachment/Ammo Saving

Recommended Posts

What it does: If you logout with a weapon in your backpack that has attached attachments/magazines they will now get saved instead of them just vanishing. (Only works for backpacks, couldn't be bothered to apply it for vests!)


# Exile Weapon Attachment Save Fix v0.10 by El' Rabito
 

Download (Github)
Support Me: www.buymeacoffee.com/ElRabito


#> Installation

1. Add this two functions below above line 43 of @ExileServer\addons\exile_server\bootstrap\fn_preInit.sqf

['ExileServer_util_getWeaponMagCargo','exile_server\code\ExileServer_util_getWeaponMagCargo.sqf'],
['ExileServer_util_getWeaponAttachementCargo','exile_server\code\ExileServer_util_getWeaponAttachementCargo.sqf'],

2. Put/replace the files from the code of the download folder into @ExileServer\addons\exile_server\code and repack your exile_server.pbo

3. Done ! Nothing more needed.
 

  • Like 1

Share this post


Link to post
Share on other sites

# Updated
Fixed a bug that caused duping. 
Just replace your ExileServer_util_getWeaponAttachementCargo

Share this post


Link to post
Share on other sites

Has anyone modified this script to allow saving within vests? or atleast point me in the direction to modify it myself to accomplish this?

Share this post


Link to post
Share on other sites

×