Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: hover/heli  (Read 749 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
hover/heli
« on: 19 Mar 2005, 19:48:28 »
what is a line of code to see if a chopper has men in cargo and also the code for when there cargo is empty

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:hover/heli
« Reply #1 on: 19 Mar 2005, 20:00:22 »
if (count ((crew chopper) - [driver chopper,gunner chopper]) > 0) then {hint"Loons in cargo"} else {hint"No loons in cargo"}

Just tested it.  It works.
« Last Edit: 19 Mar 2005, 23:49:02 by THobson »