Raised This Month: $ Target: $400
 0% 

Print Percent Sign in Menu Title


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 06-15-2014 , 15:02   Re: Print Percent Sign in Menu Title
Reply With Quote #4

Both %% and %c (value '%') should work, but if you use Format again on a string containing a %, it will go away or error out.

I've found that using something like "PCT" in place of a % works when formatting a string, and just before you go to print it, ReplaceString(string, maxlen, "PCT", "%%", true);.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

Last edited by MasterOfTheXP; 06-15-2014 at 15:03.
MasterOfTheXP is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode