SendClientMessage
#1

Hello.

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);
}
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.
Reply


Messages In This Thread
SendClientMessage - by Urefeu - 07.08.2011, 16:58
Re: SendClientMessage - by RyDeR` - 07.08.2011, 17:34
Re : SendClientMessage - by Urefeu - 07.08.2011, 18:17
Re : SendClientMessage - by Urefeu - 07.08.2011, 19:25
Re : SendClientMessage - by Urefeu - 08.08.2011, 07:56

Forum Jump:


Users browsing this thread: 1 Guest(s)