11.02.2010, 16:09
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.
Could someone finish this command and explain the "{Float,_}:..."?
Thanks.
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,_}:..."

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");
...
Thanks.