error -_-
#1

hi got an error compiling


C:\Users\iphone\Desktop\0.3e\filterscripts\interio r.pwn(224) : error 030: compound statement not closed at the end of file (started at line 21
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

pawn Код:
ShowPlayerDialog(playerid, DIALOG_SHOP, DIALOG_STYLE_LIST, "{FF0000}Shops", "{00FF00}24/7 1\n{00FF00}24/7 2\n{00F00}24/7 3\n{00FF00}24/7 4\n{00FF00}24/7 5\n{00FF00}24/7 6", "teleport", "cancel");
                        {

    return 1;
}
#endif
Reply
#2

pawn Код:
if(!strcmp(cmdtext, "/shops", true))
{    
    ShowPlayerDialog(playerid, DIALOG_SHOP, DIALOG_STYLE_LIST, "{FF0000}Shops", "{00FF00}24/7 1\n{00FF00}24/7 2\n{00F00}24/7 3\n{00FF00}24/7 4\n{00FF00}24/7 5\n{00FF00}24/7 6", "teleport", "cancel");
    return 1;
}
#endif
Reply
#3

You need to close the compound for ex
pawn Код:
{
          }
can u post the full code to pastebin pls
Reply
#4

http://pastebin.com/HYwGBiQa
Reply
#5

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
your code is messed up alot lol
Reply
#6

Quote:
Originally Posted by Mr.Fames
Посмотреть сообщение
your code is messed up alot lol
xD still learning


offtopic: I WANT TO BE PRO!
Reply
#7

bump
Reply
#8

what am i doing wrong? i guesed on how to make dialogs inside dialogs ami doing that wrong plz answer me
Reply
#9

BUMP! any1 can help?
Reply
#10

You want to make , when a player presses "teleport" it teleports him/her ?

you need to use
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
EDIT :

Didnt see the pastebin link ... thats really messy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)