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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now