PDA

View Full Version : [HELP]It's possible ?


TheBluec0de
10/04/2012, 09:25 PM
it's possible use one string for all format ecc ? is a good idea or not ?

Kitten
10/04/2012, 09:28 PM
What do you mean having a global string to use for all formats?

If that yes.

Example:


new string[128];

new money = GetPlayerMoney(playerid);
format(string,sizeof(string), "Money = %d.",money);

new score = GetPlayerScore(playerid);
format(string,sizeof(string), "Score = %d.",score);

TheBluec0de
10/04/2012, 09:32 PM
ok.... solved