12.10.2010, 14:00
Hey,im not very good with dialogs and uhm i need help with one..
i wanted to make dialog list,where you can choose skins etc,and wanted to make it with 3 buttons,is it possible?
i didnt think it was but if it is then teach me please
but now i made usual dialog with 2 buttons
and i got error
i think i did it wrong,how to make an respone to button click?
heres the code:
i really need help with this,thank you!
i wanted to make dialog list,where you can choose skins etc,and wanted to make it with 3 buttons,is it possible?
i didnt think it was but if it is then teach me please
but now i made usual dialog with 2 buttons
and i got error
Код:
error 002: only a single statement (or expression) can follow each "case"
heres the code:
Код:
case 14124: { switch( listitem ) { case 0: { ChosenSkin = listitem; SetPlayerSkin(playerid, ChosenSkin); SetTimerEx("ClothesTimer",7000,1,"i",playerid); } case 1: { ChosenSkin = listitem; SetPlayerSkin(playerid, ChosenSkin); SetTimerEx("ClothesTimer",7000,1,"i",playerid); } case 2: { SetPlayerSkin(playerid,PlayerStatistics[playerid][pLastSkin]); } else { TogglePlayerControllable(playerid,1); SetPlayerPos(playerid,330.1799,1854.6450,7.8281); SendClientMessage( playerid, WHITE, "You chose your new clothes and walked out from the clothes change place" ); } }