Thug Posted September 2, 2016 Report Share Posted September 2, 2016 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 More sharing options...
0 seelenapparat Posted September 2, 2016 Report Share Posted September 2, 2016 if ((count _intentory > 0) && (!((typeOf _object) in DZE_DoorsLocked) || !((typeOf _object) in DZE_Garage))) then { this should work. Link to comment Share on other sites More sharing options...
0 Thug Posted September 2, 2016 Author Report Share Posted September 2, 2016 1 hour ago, seelenapparat said: if ((count _intentory > 0) && (!((typeOf _object) in DZE_DoorsLocked) || !((typeOf _object) in DZE_Garage))) then { this should work. That did it, thanks have a in game beer on me Link to comment Share on other sites More sharing options...
Question
Thug
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 accountSign in
Already have an account? Sign in here.
Sign In Now