[HELP]It's possible ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]It's possible ? (
/showthread.php?tid=333266)
[HELP]It's possible ? -
TheBluec0de - 10.04.2012
it's possible use one string for all format ecc ? is a good idea or not ?
Re: [HELP]It's possible ? -
Kitten - 10.04.2012
What do you mean having a global string to use for all formats?
If that yes.
Example:
pawn Code:
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);
Re: [HELP]It's possible ? -
TheBluec0de - 10.04.2012
ok.... solved