How to Make Text for Team Selection?
#6

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
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)