Dialog response not Sending Message [Input Dialog]
#1

Hey,
Ugh.. been working on this for a while now and just can't seem to work out why my dialogs aren't sending the player a message after the valid input into the Input dialog, Here is what I have so far....

pawn Code:
.
        case 166: //How many rooms?
        {
            if(!response) return 1;
            if(response)
            {
                new room;
                sscanf(inputtext, "d", room);
                if(room < 1 || room > MAX_ROOMS) return format(string, sizeof(string), "You selected %s Rooms", room);
                else
                {
                    format(string, sizeof(string), "Please select a value of rooms between 1 and %s", MAX_ROOMS);
                }
            }
        }
Any Ideas...?

Cheers in advance.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)