13.08.2011, 05:17
Use this:
Not my code, use search next time
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;
}