Home   Help Search Login Register  

Author Topic: Display Variables in the Game  (Read 484 times)

0 Members and 1 Guest are viewing this topic.

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Display Variables in the Game
« on: 29 Jan 2003, 05:35:34 »
Hello,

maybe a very stupid question:
i have a Variable MyNumber containing a number, now i want to display it  in the game with

hint MyNumber

but OFP says no string error !
Is there a Num2String Function i am to stupid to find ? Or should i go to implement one ?

With best Regards
Kuro

Offline Ottie

  • Members
  • *
  • And you think this is personal
Re:Display Variables in the Game
« Reply #1 on: 29 Jan 2003, 08:19:46 »
Hint FORMAT["MyNumber %1", MyNumber]
If you can't beat them, buy them

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Display Variables in the Game
« Reply #2 on: 29 Jan 2003, 15:18:49 »
Many Thanks,

Yours Kuro

RunAwayScientist

  • Guest
Re:Display Variables in the Game
« Reply #3 on: 03 Feb 2003, 07:44:56 »

    ACk, I've been having a bit of on the spot trouble with the variables my-self. Nothing like keeping the topic alive...

      I need to know if I've got it down right. You see, on my Role-Play Northern Everon Multiplayer Civillian Life Simulator, after you buy something, I'd like it to, "hint", your bank-account amount. How? I may have just found out...PLease tell me if this is correct:

  (Player1ACC is the name of the Player1's Account)

Hint FORMAT[" You have: Player1ACC %1", Player1ACC"]


 -RunAwayScientist

Offline Ottie

  • Members
  • *
  • And you think this is personal
Re:Display Variables in the Game
« Reply #4 on: 03 Feb 2003, 08:17:01 »
It must be :

Hint FORMAT[" You have: Player1ACC %1", Player1ACC]
If you can't beat them, buy them