10.02.2015, 17:21
pawn Код:
#include <YSI/y_va>
stock SendClientMessageFormatted(playerid, colour, format[], va_args<>)
{
new
out[128]
;
va_format(out, sizeof(out), format, va_start<3>);
SendClientMessage(playerid, colour, out);
}
stock SendClientMessageFormattedToAll(colour, format[], va_args<>)
{
new
out[128]
;
va_format(out, sizeof(out), format, va_start<2>);
SendClientMessageToAll(colour, out);
}