Compiling Error 079
#7

Credits to vince for this:

You are doing something like:
pawn Код:
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
Compiling Error 079 - by ivitec - 15.12.2012, 02:39
Re: Compiling Error 079 - by willsuckformoney - 15.12.2012, 02:52
Re: Compiling Error 079 - by ivitec - 15.12.2012, 02:57
Re: Compiling Error 079 - by willsuckformoney - 15.12.2012, 03:14
Re: Compiling Error 079 - by ivitec - 15.12.2012, 03:40
Re: Compiling Error 079 - by willsuckformoney - 15.12.2012, 03:55
Re: Compiling Error 079 - by RajatPawar - 15.12.2012, 05:27

Forum Jump:


Users browsing this thread: 4 Guest(s)