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: getFuel ?  (Read 1853 times)

0 Members and 1 Guest are viewing this topic.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
getFuel ?
« on: 09 Jun 2005, 10:08:04 »
How can I triggered an empty vehicle, when the player refuel it?
I can't finde the function getFuel, just the setFuel...

I want a setObjective "DONE" if the player refuel an Apache.
Fix bayonet!

qqqqqq

  • Guest
Re:getFuel ?
« Reply #1 on: 09 Jun 2005, 11:04:04 »
fuel vehicle

Operand types:
vehicle: Object
Type of returned value:
Number
Description:
Check how much fuel is left in the gas tank, in range 0 to 1.

Example:
fuel vehicle player

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re:getFuel ?
« Reply #2 on: 09 Jun 2005, 11:25:04 »
Thanks! I think I have an older reference...
I updated a new one.

Thanks again!!!
Fix bayonet!