formatted string on dialog help
#6

Greetings Masterart,

After having a look on your code, one can simply tell that you have not read Format callback properly over wiki.

Use this:

Code:
format(string, sizeof(string), "%s has made you a level %d admin!", name, level);
You forgot
Code:
sizeof(string)
Reply


Messages In This Thread
formatted string on dialog help - by masterart - 09.02.2019, 12:58
Re: formatted string on dialog help - by ComDuck - 09.02.2019, 13:00
Re: formatted string on dialog help - by masterart - 09.02.2019, 13:03
Re: formatted string on dialog help - by Proxus - 09.02.2019, 13:06
Re: formatted string on dialog help - by ComDuck - 09.02.2019, 13:07
Re: formatted string on dialog help - by Mazio - 09.02.2019, 13:11
Re: formatted string on dialog help - by masterart - 09.02.2019, 13:16

Forum Jump:


Users browsing this thread: 2 Guest(s)