Jump to content
  • 0

COMBINE TWO LINES OF SCRIPT


Thug

Question

I am trying to install virtual garage. Need help on fixing a line of script.

in my server_monitor.sqf I have a line of script that is:

if ((count _intentory > 0) && !(typeOf( _object) in  DZE_DoorsLocked)) then {

I need to add the following to it:

if ((count _inventory > 0) && !((typeOf _object) in DZE_Garage)) then {

Would it be:

if ((count _intentory > 0) && !((typeOf( _object) in DZE_DoorsLocked),((typeOf _object) in DZE_Garage)) then {

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...