Jump to content
Sign in to follow this  
-ami- mofo

MP ammo script not working since eden

Recommended Posts

Hi guys this worked fine before the eden update, I had a HEMTT truck with null = this execVM "scripts\ammo_west.sqf";  in it's init.

 

Then I had a scripts folder in the mission folder with a file in called ammo_west.sqf

 

In the file I have this..

 

if (!isServer) exitWith {};
 
ClearWeaponCargoGlobal _this; 
ClearMagazineCargoGlobal _this; 
ClearItemCargoGlobal _this;
ClearBackpackCargoGlobal _this;
 
 
// EQUIPMENT
//_this addItemCargoGlobal ["NVGoggles",6];
_this addItemCargoGlobal ["ItemGPS",6];
_this addItemcargoGlobal ["ToolKit",1];
_this addItemcargoGlobal ["MediKit",1];
_this addItemcargoGlobal ["B_UAVTerminal",1];
_this addItemcargoGlobal ["MineDetector",2];
_this addItemcargoGlobal ["FirstAidKit",30];
 
 
 
// ASSAULT RIFLES
_this addWeaponCargoGlobal ["arifle_TRG20_F",3];
_this addWeaponCargoGlobal ["arifle_TRG21_F",3];
_this addWeaponCargoGlobal ["arifle_TRG21_GL_F",3];
_this addWeaponCargoGlobal ["arifle_MX_F",3];
_this addWeaponCargoGlobal ["arifle_MX_GL_F",3];
_this addWeaponCargoGlobal ["arifle_MXC_F",3];
_this addWeaponCargoGlobal ["arifle_MXM_F",3];

_this addWeaponCargoGlobal ["srifle_EBR_F",3];

 
.... blah blah and so on.
 
But since the eden update all the truck has in it is 10 FAK's when loaded in MP (works ok in SP though).
 
 
Would anybody know a fix please?
 
Thanks.

Share this post


Link to post
Share on other sites

Did you try using the ammobox attribute in Eden?

Share this post


Link to post
Share on other sites

I'm getting nowhere fast. It's not just the ammo script but all .sqf files aren't working in MP, only SP.

 

Surely somebody smarter than me has an idea why this could be? Something must've changed since the last update? Maybe the way .sqf files are called or something? Is it still this way... null = this execVM

Share this post


Link to post
Share on other sites
Guest

Try dedicated and self hosted.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×