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: Scalars in "format" ? (GetDammage)  (Read 969 times)

0 Members and 1 Guest are viewing this topic.

Pointman

  • Guest
Scalars in "format" ? (GetDammage)
« on: 01 Feb 2003, 06:29:31 »
Anyone been able to print the value of the damage of a unit?

I did
Code: [Select]
hint format["%1",GetDammage _vehicle0]

It gives me "scalar"
Code: [Select]
_dam = GetDammage _vehicle0
hint format["%1", _dam]

gives me "<null>"


any ideas?
« Last Edit: 01 Feb 2003, 06:31:53 by Pointman »

Pointman

  • Guest
Re:Scalars in "format" ? (GetDammage)
« Reply #1 on: 01 Feb 2003, 07:05:54 »
please delete this topic, i am a flaming moron


I'll go climb a flagpole