Help please - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help please (
/showthread.php?tid=628485)
Help please -
Xladen18 - 11.02.2017
At this stock
stock SCMF(playerid, color, const fstring[], va_args<3>)
{
new str[1024];
va_format(str, sizeof(str), fstring, va_start<3>);
return SCM(playerid, color, str);
}
Always show this problem please say how i can fix it
error 035: argument type mismatch (argument 3)
Re: Help please -
Dayrion - 11.02.2017
PHP код:
stock SCMF(const playerid, color, const msg[], va_args<>)
{
new
string[145];
va_format(string, sizeof(string), msg, va_start<3>);
return SendClientMessage(playerid, color, string);
}