Problem with Fraktion
#1

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

pawn Код:
Reallife.pwn(620) : error 079: inconsistent return types (array & non-array)
here my stock

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;
}
Reply


Messages In This Thread
Problem with Fraktion - by blackfire49 - 10.09.2012, 12:19
Re: Problem with Fraktion - by lamarr007 - 10.09.2012, 12:36
AW: Problem with Fraktion - by blackfire49 - 10.09.2012, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)