How to add all skins?
#3

pawn Код:
public OnGameModeInit()
{
    for(new skinid = 0; skinid < 299; skinid++)
    {
        if(IsValidSkin(skinid))
        {
            AddPlayerClass(skinid, . . .);
        }
    }
    return true;
}

stock IsValidSkin(skinid)
{
    if(skinid < 0 || skinid > 299) return false;
    switch(skinid)
    {
        case 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 273, 289: return false;
    }
    return true;
}
Edit: Too late.
Reply


Messages In This Thread
How to add all skins? - by GAMER_PS2 - 27.11.2011, 01:08
Re: How to add all skins? - by [L3th4l] - 27.11.2011, 01:14
Re: How to add all skins? - by Laronic - 27.11.2011, 01:17
Re: How to add all skins? - by .:Kaos:. - 27.11.2011, 01:20
Re: How to add all skins? - by GAMER_PS2 - 27.11.2011, 01:21
Re: How to add all skins? - by [L3th4l] - 27.11.2011, 01:25
Re: How to add all skins? - by GAMER_PS2 - 27.11.2011, 01:53
Re: How to add all skins? - by Tanush123 - 27.11.2011, 03:19

Forum Jump:


Users browsing this thread: 1 Guest(s)