31.08.2015, 18:12
Well, you wouldn't need to use a switch or check any variable to obtain the correct ID as you're already obtaining it from the variable. However, it is not possible to do it using switch.
Do this:
Change the "variable" name accordingly.
Do this:
Код:
if( variable >= 1 && variable <= pInfo[playerid][CarSlots] )