Dialog msgbox?
#7

Quote:
Originally Posted by -Rebel Son-
Посмотреть сообщение
I dont understand the case thing,

Should be.

pawn Код:
code..
Im using this at top because i have allot of dialogs so its easier and they all work. Just not this one.

pawn Код:
public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[])
{
    if( response )
    {
        switch( dialogid )
        {
so "case dialogname:" has the same effect as "if(dialogid == DIALOGNAME)"

Quote:
Originally Posted by admantis
Посмотреть сообщение
pawn Код:
else if (!response)
change that 'else'.
Does the first button have any effect ?
That didnt work still nothing :/. Yes the first button does what its suppose to do.
Reply


Messages In This Thread
Dialog msgbox? - by The Woody - 17.03.2011, 21:56
Re: Dialog msgbox? - by The Woody - 18.03.2011, 00:52
Re: Dialog msgbox? - by admantis - 18.03.2011, 00:59
Re: Dialog msgbox? - by The Woody - 18.03.2011, 02:09
Re: Dialog msgbox? - by admantis - 18.03.2011, 02:14
Re: Dialog msgbox? - by -Rebel Son- - 18.03.2011, 02:16
Re: Dialog msgbox? - by The Woody - 18.03.2011, 02:30
Re: Dialog msgbox? - by -Rebel Son- - 18.03.2011, 03:35
Re: Dialog msgbox? - by JamesC - 18.03.2011, 04:02
Re: Dialog msgbox? - by The Woody - 18.03.2011, 12:53

Forum Jump:


Users browsing this thread: 2 Guest(s)