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: Unit put Satchel.  (Read 675 times)

0 Members and 1 Guest are viewing this topic.

Olphy

  • Guest
Unit put Satchel.
« on: 25 Apr 2004, 15:25:12 »
Hi guys.

This is quite a simple script I know but for some reason I can't get it to work.

I am trying to get a unit to place a Satchel Charge, so I write:

unitname fire[''Put'', ''Pipebomb'']

But for some reason I keep getting an invalid number in expression message at the top of my screen. What am I doing wrong?

Cheers.

Olphy...

Olphy

  • Guest
Re:Unit put Satchel.
« Reply #1 on: 25 Apr 2004, 15:51:06 »
Sorry boys its ok I seemed to have cracked it. Sorry for wasting your time... :P

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Unit put Satchel.
« Reply #2 on: 25 Apr 2004, 15:51:38 »
In your code you have used 2 single quotes (') instead of double quotes (").

Use Shift-2 to get the double quotes.......at least it is on my keyboard.


Planck
I know a little about a lot, and a lot about a little.