13.10.2013, 16:59
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!
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!