Dialog doesnt work
#1

http://pastebin.com/TBUcbAJG

Hello , i'm making bank system (for me)
But i get show only one dialog, but then i want show the next(after 2x click on listitem)
But when i 2 x click on item list nothing happend ...

I'm realy sorry for my bad english
Reply
#2

Please post the compile error not the script so we can help you.
Reply
#3

This is not pawno error , its a bug in GTA SA:MP
Reply
#4

Uhhh. Why is

pawn Код:
format(str,256,"Vэber\nVklad\nStav : {00FF00}%d {FFFFFF}$\nOnline Prevod",PlayerInfo[playerid][StavUctu]);\
ShowPlayerDialog( playerid, 7000 , DIALOG_STYLE_LIST, "Banka", str,"Zvolit","Odejнt");
Just thrown in there randomly? If that dialog isn't showing up for you, its because you misused it. Try placing it in a command for example:

pawn Код:
CMD:bankdialog(playerid, params[])
{
    format(str,256,"Vэber\nVklad\nStav : {00FF00}%d {FFFFFF}$\nOnline Prevod",PlayerInfo[playerid][StavUctu]);\
    ShowPlayerDialog( playerid, 7000 , DIALOG_STYLE_LIST, "Banka", str,"Zvolit","Odejнt");
    return 1;
}
Reply
#5

I don't think he put the Dialog ID in correctly...
He put (other here)_dialogid_(other here)

It should be:

pawn Код:
, DIALOG_STYLE_LIST
(Dialog type... For example list:)
Because you may have Loose indentions in your script...
Or you have typed / made a mistake in your script.
Reply
#6

no it still doesnt work ! (
Reply
#7

If you can't explain your problem properly, try your luck at pawno.cz, you might get help there in your language.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)