Mivčo 90 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Sojte mam Problem lebo mi neukazuje ako to ma byt Otovrim si /help da vyberiem si Radio a ked na Radio kliknem tak mi to neukaže Help me? //======================================================================================================================================// public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { if(listitem == 0) { new Help[999]; strcat(Help, "\n{ffffff}Welcome to Country fair 8."); strcat(Help, "\n{ffffff}Office are in LV between the pyramid and ammo (one red house on the map).."); strcat(Help, "\n{ffffff}Employment in a given profession, you will receive experience with payment."); ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,"{ffff00}HELP",Help,"Ok","Cancel"); } } } //======================================================================================================================================// if(listitem == 1) { new Commands[999]; strcat(Commands, "\n{ffffff}Commands"); strcat(Commands, "\n{ffffff}"); strcat(Commands, "\n{ffffff}"); ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,"{ffff00}Commands",Commands,"Ok","Cancel"); } //======================================================================================================================================// if(listitem == 2) { new Warpy[999]; strcat(Warpy, "\n{ffffff}Warpy"); strcat(Warpy, "\n{ffffff}Warpy1: /ostrov /draglv /dragls /dragsf /driftlv /driftsf /stunt 1-5 /stadion"); strcat(Warpy, "\n{ffffff}Warpy2: /ls /sf /lv /grove /ballas /priehrada /chiliand /mestecko."); ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,"{ffff00}HELP",Warpy,"Ok","Cancel"); } //======================================================================================================================================// if(listitem == 3) { } //======================================================================================================================================// if(listitem == 4) { new Info[999]; strcat(Info, "\n{ffffff}Info"); strcat(Info, "\n{ffffff}"); strcat(Info, "\n{ffffff}"); ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,"{ffff00}Info",Info,"Ok","Cancel"); } //======================================================================================================================================// if(dialogid == 2) { if(response) { if(listitem == 5) { ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST,"Radio","Europa2 \nFunRadio \nEvropa \nFrekvence", "OK", "Zavrit"); } } switch(listitem) { case 0: { SendClientMessage(playerid,0xFFFF00C8,"Europa2"); PlayAudioStreamForPlayer(playerid,"http://ice2.europa2.sk/fm-europa2sk-128"); } case 1: { SendClientMessage(playerid,0xFFFF00C8,"FunRadio"); PlayAudioStreamForPlayer(playerid,"http://stream.funradio.sk:8000/fun128.mp3"); } case 2: { SendClientMessage(playerid,0xFFFF00C8,"Evropa2"); PlayAudioStreamForPlayer(playerid,"http://icecast3.play.cz/evropa2-128.mp3"); } case 3: { SendClientMessage(playerid,0xFFFF00C8,"Frekvence1"); PlayAudioStreamForPlayer(playerid,"http://icecast6.play.cz/frekvence1-128.mp3"); } case 4:StopAudioStreamForPlayer(playerid); } } Help me? Link to comment Share on other sites More sharing options...
0 Lerry 15 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Dej sem cod od příkazu Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 26. Květen, 2013 Author Share Odesláno: 26. Květen, 2013 CMD:help(playerid,params[]) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Realna Zeme 8.0", "Help \nCommands \nRules \nWarpy \nInfo \nRadio", "OK", "Zavrit"); return 1; } Link to comment Share on other sites More sharing options...
0 Lerry 15 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 if(dialogid == 2) { toto vymaž nevím proč tam dáváš dialogid == 2 Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 26. Květen, 2013 Author Share Odesláno: 26. Květen, 2013 no a toto co ked to dam tak mi ukaže na Europe2 Help alebo nič if(listitem == 5) { if(response) { ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST,"Radio","Europa2 \nFunRadio \nEvropa \nFrekvence", "OK", "Zavrit"); } } Link to comment Share on other sites More sharing options...
0 Guest Norhy Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 if(dialogid == 2) { toto vymaž nevím proč tam dáváš dialogid == 2 Lebo to tam má byť? Link to comment Share on other sites More sharing options...
0 Adrián Lipták 51 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Máš 2 dialogy s ID 2 more... Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 26. Květen, 2013 Author Share Odesláno: 26. Květen, 2013 if(dialogid == 2) { if(response) { if(listitem == 5) { ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST,"Radio","Europa2 \nFunRadio \nEvropa \nFrekvence", "OK", "Zavrit"); } } mam to takto a nefunguje mi to ;( Link to comment Share on other sites More sharing options...
0 Guest Norhy Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 if(listitem == 5) .. Nechápem. Nemá tam byť switch? Link to comment Share on other sites More sharing options...
0 Adrián Lipták 51 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { if(listitem == 0) { // otvoriš listitem dialogu id 1 new Help[999]; strcat(Help, "\n{ffffff}Welcome to Country fair 8."); strcat(Help, "\n{ffffff}Office are in LV between the pyramid and ammo (one red house on the map).."); strcat(Help, "\n{ffffff}Employment in a given profession, you will receive experience with payment."); ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,"{ffff00}HELP",Help,"Ok","Cancel"); } // zavrieš liostitem dialogu id 1 } // zavrieš response dialogu id 1 } // zavrieš dialog id 1 //============================================================================// if(listitem == 1) // dafuq? otvoriš listitem kotreho dialogu ? demence more Link to comment Share on other sites More sharing options...
0 Lerry 15 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Lebo to tam má byť? a tak proč tam má if(listitem == 5) Link to comment Share on other sites More sharing options...
0 Guest Norhy Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Preboha to s listitem má zle, ale to s dialógom má dobre, tak nechápem načo mu vravíš nech to vymaže Link to comment Share on other sites More sharing options...
0 Lerry 15 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 jo protože sem si myslel že když tam má listitem 1 2 3 4 5 tak že to patří k tomu no neřeš to má tom prostě blbě toto if(listitem == 5) Link to comment Share on other sites More sharing options...
0 Guest SpiRinG Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Menšie info. Ak to robíš na RZ tak ta už ma dialog register takže ti to bude bugovat ak necháš id 1 Link to comment Share on other sites More sharing options...
0 DooM 93 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Takže další zakázka jo ? To je ten tvůj slavný "Multiscript" ? Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 26. Květen, 2013 Author Share Odesláno: 26. Květen, 2013 ne Doom Klamal som TO je vše pre mňa .D Link to comment Share on other sites More sharing options...
0 Guest Norhy Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 A už ti to aj funguje? Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 26. Květen, 2013 Author Share Odesláno: 26. Květen, 2013 Opravuje mi to dEcooR. Lock Please Link to comment Share on other sites More sharing options...
0 Adrián Lipták 51 Odesláno: 26. Květen, 2013 Share Odesláno: 26. Květen, 2013 Opravuje mi to dEcooR. Lock Please Si dal správnemu do ruky Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 26. Květen, 2013 Author Share Odesláno: 26. Květen, 2013 už mi to ide Link to comment Share on other sites More sharing options...
Dotaz
Mivčo 90
Sojte mam Problem lebo mi neukazuje ako to ma byt
Otovrim si /help da vyberiem si Radio a ked na Radio kliknem tak mi to neukaže
Help me?
Help me?
Link to comment
Share on other sites
19 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now