Index Problem
#4

or you can you Strmatch

much easier to understand and doesnt return 0 if its right<.<
pawn Код:
if(strcmp(playername, Businesses[i][bOwner])
pawn Код:
stock strmatch(const String1[], const String2[])//
{
    if ((strcmp(String1, String2, true, strlen(String2)) == 0) && (strlen(String2) == strlen(String1)))
    {
    return true;
    }
    else
    {
    return false;
    }
}
also did you just copy that out of vortex roleplay's business system because it looks "Very" familiar
Reply


Messages In This Thread
Index Problem - by RichyB - 07.08.2010, 14:28
Re: Index Problem - by Calgon - 07.08.2010, 14:59
Re: Index Problem - by Kayla.S - 07.08.2010, 15:01
Re: Index Problem - by Kar - 07.08.2010, 15:03
Re: Index Problem - by RichyB - 08.08.2010, 08:15

Forum Jump:


Users browsing this thread: 1 Guest(s)