Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
String Conversion
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#5
RE: String Conversion

(09-21-2010, 01:24 PM)SLi78 Wrote: Hi there,

for some debugging i want to convert a float to string, so i can put the value in a mesage.

I've tried

Print(string(GetGlobalVarFloat("Timerspeed")), false);
but that doesnt work.

Can someone help, please.

This'll convert it to string:
""+GetGlobalVarFloat("Timerspeed");

[Image: 16455.png]
09-21-2010, 02:30 PM
Find


Messages In This Thread
String Conversion - by SLi78 - 09-21-2010, 01:24 PM
RE: String Conversion - by gosseyn - 09-21-2010, 01:34 PM
RE: String Conversion - by SLi78 - 09-21-2010, 01:36 PM
RE: String Conversion - by jens - 09-21-2010, 01:39 PM
RE: String Conversion - by MulleDK19 - 09-21-2010, 02:30 PM



Users browsing this thread: 1 Guest(s)