15.12.2012, 05:27
Credits to vince for this:
You are doing 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."
You are doing something like:
pawn Код:
MyFunction()
{
if(somevalue)
{
return 1;
}
new string[64] = "a text";
return string;
}