does any one have all the ids with AddPlayerClass
#3

pawn Код:
// OnGameModeInit
for(new iC = 1; iC < 300; iC++)
{
    if(IsValidSkin(iC)) AddPlayerClass(iC, 0.0, 0.0, 0.0, 0.0, 0,0,0,0,0,0);
}

// IsValidSkin() function - might be wrong, got it from somewhere random.
stock IsValidSkin(_id)
{
    if(_id < 1 || _id > 299) return 0;
    new np = -1;
    switch(_id)
    {
        case 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 268, 273, 289: np = 0;
        default: np = 1;
    }
    return np;
}
Reply


Messages In This Thread
does any one have all the ids with AddPlayerClass - by cssbart - 14.08.2011, 19:24
Re: does any one have all the ids with AddPlayerClass - by Hiddos - 14.08.2011, 19:26
Re: does any one have all the ids with AddPlayerClass - by woot - 14.08.2011, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)