Skins
#7

pawn Код:
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;
}
Reply


Messages In This Thread
Skins - by GeorgeMcReary - 14.06.2015, 17:15
Re: Skins - by DarkLored - 14.06.2015, 17:21
Re: Skins - by GeorgeMcReary - 14.06.2015, 17:28
Re: Skins - by Darkwood17 - 14.06.2015, 17:30
Re: Skins - by GeorgeMcReary - 14.06.2015, 17:37
Re: Skins - by Darkwood17 - 14.06.2015, 17:40
Re: Skins - by Metharon - 14.06.2015, 17:41
Re: Skins - by GeorgeMcReary - 14.06.2015, 17:46

Forum Jump:


Users browsing this thread: 1 Guest(s)