16.07.2011, 12:50
Means you do something like:
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.
pawn Code:
MyFunction()
{
if(somevalue)
{
return 1;
}
new string[64] = "a text";
return string;
}