29.08.2011, 17:10
You can also do it by using the "switch" statement. This is easier for larger amounts.
pawn Code:
switch(classid)
{
case 0 .. 3: { // This is for skin 0 untill 3 (0, 1, 2, 3)
// allt he stuff you want for the first 4 skins
}
case 4, 5, 6, 7: {
// all the stuff you want for the classes 4, 5, 6, 7
}
}