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

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
  • Discord

×
×
  • Create New...