does any one have all the ids with AddPlayerClass
#1

does any one have all the ids with AddPlayerClass eg

Код:
AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
 AddPlayerClass(3, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
and so on up to 299 or what ever it is
Reply
#2

There ya go: https://sampwiki.blast.hk/wiki/Skins:All
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)