[Help] Switch statement question
#1

Hello guys i have always used if-else but i want to try switch and now i am thinking if this is possible or how to do it similiarly.

switch(GetPlayerSkin() == 280)
case: skin id 281
SetPlayersKin 281;


like if the skin id is 280 it will turn into 281
and so on, from skin id 280 to 286, Thanks in advance,
I am sorry if you can't understand but ask and i will Try to give a better explanation!


*** Edit ***

Thanks everyone, my problem got solved quick!
Reply


Messages In This Thread
[Help] Switch statement question - by basse - 13.10.2013, 16:59
Re: [Help] Switch statement question - by Emmet_ - 13.10.2013, 17:00
Re: [Help] Switch statement question - by xVIP3Rx - 13.10.2013, 17:02
Re: [Help] Switch statement question - by basse - 13.10.2013, 17:02
Re: [Help] Switch statement question - by Konstantinos - 13.10.2013, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)