Always getting Error 079
#3

Means you do something like:
pawn Code:
MyFunction()
{
    if(somevalue)
    {
        return 1;
    }
    new string[64] = "a text";
    return string;
}
In one function, all return types must be consistent (that's what the error says). So you need to return all arrays (strings), all integers or all floats, but not a combination of them.
Reply


Messages In This Thread
Always getting Error 079 - by NRJ53 - 16.07.2011, 11:45
Re: Always getting Error 079 - by THE_KNOWN - 16.07.2011, 11:51
Re: Always getting Error 079 - by Vince - 16.07.2011, 12:50
Re: Always getting Error 079 - by NRJ53 - 16.07.2011, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)