[help] Need a define that returns a formatted string
#5

I just want something easier than having to format a string each time, instead of

new string[128];
format(string, 128, "%s %d %f", mystring, myvar, myfloat);

It would be simpler to just use something like FS("%s %d %f", mystring, myvar, myfloat);

I'm not gonna use this for sending formatted client messages (already got something for that)
Reply


Messages In This Thread
[help] Need a define that returns a formatted string - by DeathTone - 08.05.2012, 03:21
Re: [help] Need a define that returns a formatted string - by MP2 - 08.05.2012, 06:45
Re: [help] Need a define that returns a formatted string - by 2KY - 08.05.2012, 11:34
Re: [help] Need a define that returns a formatted string - by 2KY - 08.05.2012, 11:37
Re: [help] Need a define that returns a formatted string - by DeathTone - 08.05.2012, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)