Argue Dismatch type 3.
#1

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);
}
Reply
#2

None, really?..
Reply
#3

Please, someone help me out, jesus :/
Reply
#4

Please, someone help me out, jesus :/
Reply
#5

hmmm change those <> to [] and try that out
Reply
#6

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>);
Reply
#7

Change the <> with [] like he said. []s are used for arrays whereas <> breaks syntax. Nevertheless, where is VA_Start defined?
Reply
#8

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.
Reply
#9

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 []
Reply
#10

post this at YSI's thread
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)