: error 035: argument type mismatch (argument 3)
#6

pawn Код:
error 033: array must be indexed (variable "-unknown-")
Got this error when doing another like function

function:
pawn Код:
Job_ReturnID(jobid)
{

    new
        szName[32] = "0";

    switch(jobid) {
        case 1: szName = "1";
        case 2: szName = "2";
    }
    return szName;
}
Line of error: new jobs = Job_ReturnID(jobid);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)