Jump to content
  • 0

Need help with server_monitor.sqf


glowpowner

Question

Hello all i need some help with my server_monitor.sqf

 

Edit: its fixed

 

this is the error i get

 

20:12:48 Error in expression < _countr)];
};
_countr = _countr + 1;
} count _objWpnTypes;


_objWpnTypes = (_>
20:12:48   Error position: <count _objWpnTypes;


_objWpnTypes = (_>
20:12:48   Error count: Type String, expected Array
20:12:48 File z\addons\dayz_server\system\server_monitor.sqf, line 218

 

and this is my server_monitor.sqf

 

http://pastebin.com/HNpmD2ft

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Hello, I do not know exactly the structure of _inventory array but

 

"_objWpnTypes = (_intentory select 0) select 0;" do select a string( so a characters sequence) instead of an actual array.(at least that was is saying your log)

 

Would (_intentory select 0) be the actual array you want to loop on?

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...