14.06.2015, 17:40
Try this:
Код:
stock IsInvalidSkin(skin) { #define MAX_BAD_SKINS 15 new badSkins[MAX_BAD_SKINS] = { 1, 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 273, 289 }; for (new i = 0; i < MAX_BAD_SKINS; i++) { if (skin == badSkins[i] || skin < 0 || skin >= 311 ) return true; } return false; }