12.02.2011, 15:50
Well, i would recommend a "switch"
You have to remeber there is a limit on the length of allowed queries in an if statement. (8 i think is the limit, you have 9 in your first if)
pawn Код:
switch(classid)
{
case 0, 1, 2, 3, 4, 5, 6, 7, 8:
{
//What you want to do for 0-8 class ids
}
case 9, 10, 11, 12, 13, 14, 15, 16:
{
//What you want to do for the others
}
}