Jump to content
  • 0

Problema....


ruben88

Question

Salut...am problema asta!

error 001: expected token: ";", but found "return"
La comanda asta!
    if (strcmp("/command", cmdtext, true, 10) == 0)
    {
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Dialog","1. Line\r\n2. Line\r\n3. Line","OK", "OK")
    return 1;
	}

E ceva de la return 1; dar nush ce sa ai fac!  :undecided:

Sau poate nu trebuie asa facut dialogu asta!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

if (strcmp("/command", cmdtext, true, 10) == 0)
    {
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Dialog","1. Line\r\n2. Line\r\n3. Line","OK", "OK");
    return 1;
   }

Gata ti lam facut eu...e de la return 1 pe p00la! nai pus ; .... fii mai atent,daca faci mape nu inseamna ca stii scripting ;)

u78ch.jpg

CHECK MY CHANNEL!

http://www.youtube.com/user/amysoica

Link to comment
Share on other sites

if (strcmp("/command", cmdtext, true, 10) == 0)
    {
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Dialog","1. Line\r\n2. Line\r\n3. Line","OK", "OK");
    return 1;
   }

Gata ti lam facut eu...e de la return 1 pe p00la! nai pus ; .... fii mai atent,daca faci mape nu inseamna ca stii scripting ;)

Vezi cum vorbesti ... mi-ai luat-o inainte xD ... si n-a zis ca stie scripting, gandeste inainte sa vorbesti.
Link to comment
Share on other sites

tu nu sti sa citesti? eroarea aia nu ti-o da doar asa ca sa vi sa faci new topic aici pe forum :| , in eroare iti zice ce ai gresit ca sa nu mai gresesti si data viitoare , ai incercat macar sa citesti eroarea? nu sti limba engleza? macar putin asa ...... -.-

GOD tu ce intelegi prin expect token: ";" but found "return" ..... adica iti lipseste un ; ..... e asa greu de cititi? pune dupa linia cu dialogul la sfarsit dupa , "OK") - pune un ; si incearca sa il compilezi iar

Link to comment
Share on other sites

Ruben" post="54133" timestamp="1297188667"]

Multumesc...nu le am cu scriptingu.....

macar poti sa citesti , daca citesti iti dai seama ce problema e ..... "expected token" - "pawn se astepta la ; " dar a gasit doar "return" asta e greseala aici iti zice ce ai gresit , si tu pui ";" care lipsea , nu e cine stie ce trebuie doar sa citesti si sa fi atent pe viitor :P

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.