13.11.2010, 08:56
Do you not think it would be better using strcmp? It would probably be more reliable than strfind.
EDIT: something like
EDIT: something like
pawn Код:
for(id = 0; id < MAX_GANGS; id++)
{
if(!strcmp(gangNames[id], params, true))
{
gangnum = id;
return 1;
}
}
SendClientMessage(playerid, 0xff0000FF, "Gang not found");

