07.08.2011, 16:58
Hello.
I currently have a function like this:
As you can see, it is supposed to make a SendClientMessage without a format.
There are two problems: I can just pass an argument define.
I think, but I'm not sure that I can not put arrays.
Do you have a solution for this?
Thank you.
I currently have a function like this:
Код:
public SendPlayerText(playerid, color, const str[], define) { new tmpbuf[256]; format(tmpbuf, sizeof(tmpbuf), str, define); SendClientMessage(playerid, color, tmpbuf); }
There are two problems: I can just pass an argument define.
I think, but I'm not sure that I can not put arrays.
Do you have a solution for this?
Thank you.