Problems with SCMf
#1

I have problems with this stock.
Код:
stock SCMf( playerid, color, const string[ ], va_args<> ) {
	new string2[ 256 ]; va_format( string2, sizeof string2, string, va_start<3> );
	return SendClientMessage( playerid, color, string2 ); }
Error's
Код:
error 001: expected token: ")", but found "<"
error 085: no states are defined for symbol "SCMf"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Reply
#2

I don't know,but maybe you can try to use this:

PHP код:
stock SCMf(playeridcolour, const fmat[], {Float_}:...)
{
    new
        
str[145];
    
va_format(strsizeof (str), fmatva_start<3>);
    return 
SendClientMessage(playeridcolourstr);

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)