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: Variable dialog text!  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

Silencer

  • Guest
Variable dialog text!
« on: 25 Feb 2005, 13:09:11 »
Hi!

I have a question. I have made a (variable) text in a dialog with ctrltext.
I can see in a hint what text that was (e.g.: I pressed button 1, button 0 and button 0 again) The text is now: 100

I can see this in a hint! So that workes fine.

I want: 300 - the text          (e.g.: 300 - 100)
How can I do this?

Thanks.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Variable dialog text!
« Reply #1 on: 25 Feb 2005, 13:31:30 »
This is probably what you are looking for. :)

:beat: *Gets Shot* :beat:

bored_onion

  • Guest
Re:Variable dialog text!
« Reply #2 on: 25 Feb 2005, 18:07:43 »
yeah, i reckon its just a problem using a string as a number. if you see an error message it will read "Type:String;Expected:Number" or something if that it is your problem.