Please tell me there is an easier way to do this.
#2

Use this:
pawn Код:
// Under OGMI
    for(new i = 0; i < 299; ++i)
    {
        if(IsValidSkin(i)) AddPlayerClass(i, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
    }

// Somewhere else..
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;
}
Not my code, use search next time
Reply


Messages In This Thread
Please tell me there is an easier way to do this. - by Shockey HD - 13.08.2011, 05:06
Re: Please tell me there is an easier way to do this. - by [L3th4l] - 13.08.2011, 05:17
Re: Please tell me there is an easier way to do this. - by Scenario - 13.08.2011, 05:48

Forum Jump:


Users browsing this thread: 1 Guest(s)