![]() |
#1
|
|||
|
|||
![]()
I can not test as I am at work. But I did have "\n" in my code and it did nothing.
I have for example below a score ouput. Rather than have them both on the same line I want them to appear on separate lines. Or if I had for example 3 completed objectives in a const String. I would want the 3 to list under each other not across the screen. Any ideas? Anyone can test output to get a list? Output of this puts the two scores side by side on the same line. I would like to list them on two or more lines below each other Code:
GamePlay.gpLogServer(null, "German {0} destroyed - Team scores now: RAF {1}- LW {2}", new object[] { TargetName, ScoreRed, ScoreBlue }); This should put the LW soce on line 2. A new line Code:
GamePlay.gpLogServer(null, "German {0} destroyed - Team scores now: RAF {1} \n LW {2}", new object[] { TargetName, ScoreRed, ScoreBlue }); Code:
GamePlay.gpLogServer(null, "German {0} destroyed - Team scores now: RAF {1} \v LW {2}", new object[] { TargetName, ScoreRed, ScoreBlue }) Code:
GamePlay.gpLogServer(null, "German {0} destroyed - Team scores now: RAF {1} \t LW {2}", new object[] { TargetName, ScoreRed, ScoreBlue });
__________________
__________________ Win7, 64bit Ultra Asus P8P67Pro MB Intel i7-2600K Coursair 16GB (4x 4GB), DDR3-1600MHz Gainward Nvidia 580GTX 3GB DDR5 850-Watt Modular Power Supply WIN7 and COD on Gskill SSD 240GB 40" Panasonic LCD TrackIR5 + Thrustmaster Warthog stick, throttle & pedals |
Thread Tools | |
Display Modes | |
|
|