07.08.2010, 15:03
or you can you Strmatch
much easier to understand and doesnt return 0 if its right<.<
also did you just copy that out of vortex roleplay's business system because it looks "Very" familiar
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;
}
}