10.09.2012, 12:19
Hello i need help with my Fraktion also i want my stock to return the FrakName from the Fraktion but for some reason i become this error
here my stock
pawn Код:
Reallife.pwn(620) : error 079: inconsistent return types (array & non-array)
pawn Код:
stock FrakName(playerid)
{
new frakname[40],Ffile[129];
for(new f = 0; f < 13; f++)
{
format(Ffile,sizeof(Ffile),"/Fraktion/%s.ini",FInfo[f][FName]);
format(frakname,sizeof(frakname),FInfo[f][FName]);
if(SpInfo[playerid][Fraktion] >= 0)return frakname;
}
return 0;
}