How to insert %s on a format..
#3

Yes, I readed the wiki, but another problem
pawn Код:
format(c_str, 64, "Compraste % %%i de armadura por $%d", chaleco, g_Armadura[playerid]);
Like that chaleco won't show...

pawn Код:
format(c_str, 64, "Compraste %%%i de armadura por $%d", chaleco, g_Armadura[playerid]);
And like that gives me chaleco value, but next to it there is a large number with an e at the end..
Reply


Messages In This Thread
How to insert %s on a format.. - by The_Moddler - 30.09.2010, 22:09
Re: How to insert %s on a format.. - by Nero_3D - 30.09.2010, 22:31
Re: How to insert %s on a format.. - by The_Moddler - 30.09.2010, 22:33
Re: How to insert %s on a format.. - by MrDeath537 - 30.09.2010, 22:39
Re: How to insert %s on a format.. - by -Sneaky- - 30.09.2010, 22:51
Re: How to insert %s on a format.. - by The_Moddler - 30.09.2010, 23:51

Forum Jump:


Users browsing this thread: 1 Guest(s)