Raised This Month: $ Target: $400
 0% 

Formating text with paramater


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hh2
AlliedModders Donor
Join Date: Sep 2010
Old 07-05-2012 , 19:03   Formating text with paramater
Reply With Quote #1

Hi !

I have this code:
Code:
new g_buffer[2][] =
{
    "Test %d",
    "Test2 %d Test2" 
};
Now i have question: how formating '%d' in tables ? Its possible ?
I try this, but dont work:
Code:
formatex(text, charsmax(text), "%s", g_buffer[1], int);
Thanks for any help.
P.S Sory for my bad english

Last edited by hh2; 07-05-2012 at 19:08.
hh2 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 15:22.


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