Help me fix it.
#7

Quote:
Originally Posted by AcTopNN
Посмотреть сообщение
Ok, it works, thanks
But now it writes to me "Only CJ Skin"
How do I change it to be all skins?
Use this in your main gamemode:
pawn Код:
public OnGameModeInit()
{
    for(new i = 0; i < 299; i++)
    {
        if(IsValidSkin(i))
        {
            AddPlayerClass(i,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1);
        }
    }
    return 1;
}
With this stock.
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;
}
Gives you all valid skins.
Reply


Messages In This Thread
Well, please remove this thread, I know how to work with pawno now. please remove it. - by AcTopNN - 03.06.2011, 18:49
Re: Help me fix it. - by Stigg - 03.06.2011, 18:52
Re: Help me fix it. - by AcTopNN - 03.06.2011, 18:53
Re: Help me fix it. - by Stigg - 03.06.2011, 18:55
Re: Help me fix it. - by Ash. - 03.06.2011, 18:57
Re: Help me fix it. - by AcTopNN - 03.06.2011, 19:03
Re: Help me fix it. - by Stigg - 03.06.2011, 19:09
Re: Help me fix it. - by AcTopNN - 03.06.2011, 19:14
Re: Help me fix it. - by Stigg - 03.06.2011, 19:17
Re: Help me fix it. - by AcTopNN - 03.06.2011, 19:23

Forum Jump:


Users browsing this thread: 1 Guest(s)