[HELP] SendClientFormatMessage.
#1

Hi,

I just attempted to make a function which will send a formatted client message with the formatting stuff inside it. I made the header, no errors, but i have no idea how to use "{Float,_}:..." I just took it from the "format(...)" function.
pawn Код:
public SendClientFormatMessage(playerid, color, text[], {Float,_}:...)
{
    return 1;
}

//example:
...
    SendClientFormatMessage(playerid, COLOR_WHITE, "You are ID:%d on X%f Y%f Z%f, and you are a %s.", playerid, x, y, z, "noob");
...
Could someone finish this command and explain the "{Float,_}:..."?

Thanks.
Reply


Messages In This Thread
[HELP] SendClientFormatMessage. - by CaHbKo - 11.02.2010, 16:09
Re: [HELP] SendClientFormatMessage. - by dice7 - 11.02.2010, 17:32
Re: [HELP] SendClientFormatMessage. - by CaHbKo - 11.02.2010, 17:45
Re: [HELP] SendClientFormatMessage. - by Correlli - 11.02.2010, 17:47
Re: [HELP] SendClientFormatMessage. - by CaHbKo - 11.02.2010, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)