PDA

View Full Version : Switch inside switch?


Lajko1
03/05/2016, 05:23 PM
so like this...

switch(gunid)
{
case 24:
{
switch(bodypart)
{
case 3:
{
// something
}
//another case
}
}
}

can I use that?

Sawalha
03/05/2016, 05:32 PM
yeah, that's possible, since it compiles without errors, and no bugs are caused nor complications / complexities

Lajko1
03/05/2016, 05:37 PM
Thank you, wasn't sure cos it's like wierd :P, repped you for fast answer ;)