Warning Help!
#1

"warning 202: number of arguments does not match definition"


if (!isNumeric(tmp))
{
TargetID = ReturnUser(tmp, playerid);
if (TargetID == INVALID_PLAYER_ID)
{
return 1;
}
Reply
#2

Try this:
Код:
if (!isNumeric(tmp))
{
TargetID = ReturnUser(playerid, tmp);
if (TargetID == INVALID_PLAYER_ID)
{
return 1;
}
Reply
#3

Which line get the warning?
202 - number of arguments does not match definition
At a function call, the number of arguments passed to the function (actual arguments) differs from the number of formal arguments declared in the function heading. To declare functions with variable argument lists, use an ellipsis (...) behind the last known argument in the function heading; for example: print(formatstring,...); (see page 7.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)