25.10.2011, 21:21
pawn Код:
stock isValidSkin(skin)
{
switch(skin)
{
case 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 273, 289: return false;
default: return true;
}
return 1;
}
pawn Код:
#define ClassX 1958.3783
#define ClassY 1343.1572
#define ClassZ 15.3746
for(new ClassID; ClassID != 300; ++ClassID)
{
if(isValidSkin(ClassID))
{
AddPlayerClass(ClassID,ClassX,ClassY,ClassZ,270.1425,0,0,24,300,-1,-1);
printf("Classe: %d", ClassID);
}
}