27.04.2018, 14:12
You can use y_va from YSI :
Or http://forum.sa-mp.com/showpost.php?...postcount=4225
PHP код:
#define Scm_Params (3)
// native Scm(playerid, color, const fmat[], ...);
stock Scm(playerid, color, const fmat[], va_args<>) {
if(numargs() == Scm_Params)
return SendClientMessage(playerid, color, fmat);
static
str[145];
va_format(str, sizeof(str), fmat, va_start<Scm_Params>);
return SendClientMessage(playerid, color, str);
}