Raised This Month: $ Target: $400
 0% 

need a more editng about tag


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 10-28-2009 , 04:50   Re: need a more editng-(Flysiks)
Reply With Quote #8

Quote:
Originally Posted by micke1101 View Post
Code:
format(name, charsmax(name), "%s%s%s", PRE_TAG, name, POST_TAG)
-->
Code:
format(name, 32, "%s%s%s", PRE_TAG, name, POST_TAG)
Both ways are correct. You see, charsmax() retrieves the size of the string - 1, so in that case: 33 - 1 equals 32.

@ jondd
I don't see the problem, the code is fine. What do you want?
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath 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 17:43.


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