12.03.2010, 16:45
"may"? "may" is a short for "maybe", so do they fail or not? I can't really work with a maybe :P. Well, at the very moment all you are saying at least is that it possibly doesn't work, it can work but doesn't have to? Or did you test it?
Ah I think I know what you mean, this should work fine for you then:
Ah I think I know what you mean, this should work fine for you then:
pawn Код:
#define IsGangSkin(%0) (%0 >= 102 && %0 <= 110) || (%0 >= 114 && %0 <= 116) || (%0 >= 173 && %0 <= 175) || (%0 >= 269 && %0 <= 270)
#define IsMafiaSkin(%0) %0 == 112 || %0 == 124 || %0 == 126 || %0 == 127
#define IsPublicServicesSkin(%0) (%0 >= 274 && %0 <= 288) || (%0 >= 265 && %0 <= 267)
#define IsReservedSkin(%0) IsGangSkin(%0) || IsGangSkin(%0) || IsMafiaSkin(%0) || IsPublicServicesSkin(%0)