10.03.2010, 17:26
Hi. I have this code for my rename command
it works all fine but the = char is not in this code... how to enable the = char in this code ?
Код:
stock IsValidChar(character[]) { for(new i; i < strlen(character); i++) { if(character[i] < 36 || character[i] > 36 && character[i] < 40 || character[i] > 41 && character[i] < 46 || character[i] > 46 && character[i] < 48 || character[i] > 57 && character[i] < 64 || character[i] > 91 && character[i] < 91 || character[i] > 93 && character[i] < 93 || character[i] > 95 && character[i] < 95 || character[i] > 95 && character[i] < 97 || character[i] > 122) return 0; } return 1; }