Argue Dismatch type 3. -
HK - 06.03.2014
Shit, I can't find an reason why i'm getting this, I just updated my SQL script and then this weird error came and was NEVER there before o.O
So could you guys take a look on it? Thanks.
pawn Код:
stock SCM(playerid, colour, const fmat[], va_args<>)
{
new str[145];
va_format(str, sizeof (str), fmat, va_start<3>);
return SendClientMessage(playerid, colour, str);
}
Re: Argue Dismatch type 3. -
HK - 06.03.2014
None, really?..
Re: Argue Dismatch type 3. -
HK - 06.03.2014
Please, someone help me out, jesus :/
Re: Argue Dismatch type 3. -
HK - 06.03.2014
Please, someone help me out, jesus :/
Re: Argue Dismatch type 3. -
TheFlyer - 06.03.2014
hmmm change those <> to [] and try that out
Re: Argue Dismatch type 3. -
HK - 06.03.2014
A argue mismatch is something to do with format file, but I can't see a problem ._.
va_format(str, sizeof (str), fmat, va_start<3>);
Re: Argue Dismatch type 3. -
BKarner - 06.03.2014
Change the <> with [] like he said. []s are used for arrays whereas <> breaks syntax. Nevertheless, where is VA_Start defined?
Re: Argue Dismatch type 3. -
HK - 06.03.2014
In one of my INC's, but there's nothing wrong at all with va_'s, ill try change <> tommorow morning, thanks for the advise guys, if it works then i'll spread ya' some rep.
Re: Argue Dismatch type 3. -
BKarner - 06.03.2014
Quote:
Originally Posted by HK
In one of my INC's, but there's nothing wrong at all with va_'s, ill try change <> tommorow morning, thanks for the advise guys, if it works then i'll spread ya' some rep.
|
Well, is va_start a string? After all, that's what it's looking for. If it is, it shouldn't need a []
Re: Argue Dismatch type 3. -
XK - 06.03.2014
post this at YSI's thread