23.04.2011, 09:12
(
Последний раз редактировалось Johnson_boy; 23.04.2011 в 09:48.
)
Hi!
I've been thinking that its too complicated when you need to send only one formated message.
You have to create new string, then format it, and then send it. I though it would be better if you could do it in just one function.
I tried to make function to send formatted message (playerid, color, const message[], {Float,_}:...).
That allows you to give any amount of parameters at the end, but I don't know how to use the last parameters in function.
Is it possible? and if so, how?
PROBLEM SOLVED
I've been thinking that its too complicated when you need to send only one formated message.
You have to create new string, then format it, and then send it. I though it would be better if you could do it in just one function.
I tried to make function to send formatted message (playerid, color, const message[], {Float,_}:...).
That allows you to give any amount of parameters at the end, but I don't know how to use the last parameters in function.
Is it possible? and if so, how?
PROBLEM SOLVED