Skins include?
#1

I know that somewhere there is a include file with all the skins but i cant find it... basicly ive got a /clothes [skinid] command but i need to check to see if the skin actually exists before i give that player the skin, so i need a "IsSkinAvailable(skinid)" function or something
Reply
#2

Uh what?
Reply
#3

pawn Код:
stock IsValidSkin(SkinID)
{
    if(0 < SkinID < 300)
    {
        switch(SkinID)
        {
            case 3..6, 8, 42, 65, 74, 86, 119, 149, 208, 273, 289: return 0;
        }
        return 1;
    }
    return 0;
}
Found it in a 1st time search...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)