Invouk 91 Odesláno: 19. Leden, 2014 Share Odesláno: 19. Leden, 2014 Dobry den chcel by som sa opytat nudim sa robim si dialogy V podstate sa ich učima chcel by som sa opytat prečo mi hadže chybu: (232) : error 014: invalid statement; not in switch (232) : warning 215: expression has no effect (232) : error 001: expected token: ";", but found ":" (232) : error 029: invalid expression, assumed zero (232) : fatal error 107: too many error messages on one line 4 Errors. Kod: http://pastebin.com/d3NcHs50 Link to comment Share on other sites More sharing options...
0 Konvicka 0 Odesláno: 19. Leden, 2014 Share Odesláno: 19. Leden, 2014 Řekl bych že ti tam chybí switch ) Link to comment Share on other sites More sharing options...
0 Invouk 91 Odesláno: 19. Leden, 2014 Author Share Odesláno: 19. Leden, 2014 No ja nwm robim dialogy prez Scripting MAchine ... co som tu nasel na forku .. a tak ja nwm praveže Napišeš mi to ? ako to ma byt spravne nwm kam switch Link to comment Share on other sites More sharing options...
0 NoJo_ 0 Odesláno: 20. Leden, 2014 Share Odesláno: 20. Leden, 2014 Inak v riadku 274. máš chybu je tam "Úspešne si si kúpil Vína ... Link to comment Share on other sites More sharing options...
0 Tanga 131 Odesláno: 20. Leden, 2014 Share Odesláno: 20. Leden, 2014 Inak v riadku 274. máš chybu ...--Gramatickú chybu má aj v riadku nad tým aj predtým . Vrátim sa k otázke. Medzi riadok 231 a 232 pridaj switch. if(response) { switch (listitem) { case 1: { // Nechýba ti tu case 0? // .. } } // Nezabudni pridať aj zátvorku } Link to comment Share on other sites More sharing options...
0 Invouk 91 Odesláno: 20. Leden, 2014 Author Share Odesláno: 20. Leden, 2014 -- Gramatickú chybu má aj v riadku nad tým aj predtým . Vrátim sa k otázke. Medzi riadok 231 a 232 pridaj switch. if(response) { switch (listitem) { case 1: { // Nechýba ti tu case 0? // .. } } // Nezabudni pridať aj zátvorku } Diky ako za radu ale: http://pastebin.com/mVZcKUrs Link to comment Share on other sites More sharing options...
0 Konvicka 0 Odesláno: 20. Leden, 2014 Share Odesláno: 20. Leden, 2014 Můžeš mě říct co jsi to udělal tady.?: Edit: Řádek 239 : Funkce není vyvolána ))..Nemáš nikde ShowPlayerDialog ... + opravou toho kódu níže by se ti měl opravit zbytek if(GetPlayerMoney == 1){ { GivePlayerMoney(playerid, -1); Link to comment Share on other sites More sharing options...
0 Invouk 91 Odesláno: 20. Leden, 2014 Author Share Odesláno: 20. Leden, 2014 Oka tak som si to opravila mam to tak ako ste i kazaly !http://pastebin.com/ezW1SapSAle ak sa pripojim na server nijaky pickup sa nezobrazy ! Link to comment Share on other sites More sharing options...
0 Konvicka 0 Odesláno: 20. Leden, 2014 Share Odesláno: 20. Leden, 2014 Wtf.?...Co ti je*e .? Co to je.?: P.S. + ti chybí tady : new 111; if switch(listitem == 0) { Jen switch (listitem) { Link to comment Share on other sites More sharing options...
0 jenkings 121 Odesláno: 21. Leden, 2014 Share Odesláno: 21. Leden, 2014 SendClientMessage(playerid, 0x82B441FF , "Nemáš Dostatok penazí na Kupenie Piva !");" Link to comment Share on other sites More sharing options...
0 Invouk 91 Odesláno: 23. Leden, 2014 Author Share Odesláno: 23. Leden, 2014 JA to kašlu ja .. ani nechapem o čom vypravate a ked to upravim ... tak mi to hadže dalše errory ach ...http://pastebin.com/eWRtziLh Link to comment Share on other sites More sharing options...
0 Matess 36 Odesláno: 23. Leden, 2014 Share Odesláno: 23. Leden, 2014 Tady to máš bez chyb.. http://pastebin.com/aYsxE60p Když tam máš switch(listitem), tak už tam necpi if(listitem == neco), protože o to se stará switch a jeho case! Pokud je lisitem = 0, tak je to "case 0:" a pokud je listitem 325 tak je "case 325:" atd... Link to comment Share on other sites More sharing options...
0 Invouk 91 Odesláno: 24. Leden, 2014 Author Share Odesláno: 24. Leden, 2014 Jeden problem ... ak idem na Hamachi server Glandlarc ... tak a idem an to miesto kde mam /save tak to tam neni ! Link to comment Share on other sites More sharing options...
0 Tanga 131 Odesláno: 24. Leden, 2014 Share Odesláno: 24. Leden, 2014 Tady to máš bez chyb.. http://pastebin.com/aYsxE60p Když tam máš switch(listitem), tak už tam necpi if(listitem == neco), protože o to se stará switch a jeho case! Pokud je lisitem = 0, tak je to "case 0:" a pokud je listitem 325 tak je "case 325:" atd... -- Niekto nemá čo robiť . Link to comment Share on other sites More sharing options...
0 Invouk 91 Odesláno: 24. Leden, 2014 Author Share Odesláno: 24. Leden, 2014 radej sa .. prosim venujte chybe lebo ked .. to dam na server ako FS ! tak .. mi nenačita checkpoint a neni to tam .. Link to comment Share on other sites More sharing options...
Dotaz
Invouk 91
Dobry den chcel by som sa opytat
nudim sa robim si dialogy V podstate sa ich učim
a chcel by som sa opytat prečo mi hadže chybu:
Kod: http://pastebin.com/d3NcHs50
Link to comment
Share on other sites
14 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