08.05.2012, 12:28
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....
Any Ideas...?
Cheers in advance.
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);
}
}
}
Cheers in advance.