OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kuro 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
-
Hint FORMAT["MyNumber %1", MyNumber]
-
Many Thanks,
Yours Kuro
-
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
-
It must be :
Hint FORMAT[" You have: Player1ACC %1", Player1ACC]