Dialog response help
#1

I made a dialog that you need to insert your age but after i put my age i shows ok so you are 0 years old.
how do i make a good dialog response for the user input?


Код:
	
if(dialogid == 959)
	{
		if(response)
		{
		    new text[256];
		    new age = strvalEx(text);
		    PlayerInfo[playerid][pAge] = age;
			format(string, sizeof(string), "Ok, so you are %d year old.",PlayerInfo[playerid][pAge]);
			SendClientMessage(playerid, COLOR_YELLOW2, string);
   			RegistrationStep[playerid] = 3;
			SendClientMessage(playerid, COLOR_NICEBLUE, "What is your Origin? (Type in: USA, Europe, Asia or Africa)");
		}
		else{}
		return 1;
	}
Reply


Messages In This Thread
Dialog response help - by PaulDinam - 23.06.2012, 21:03
Re: Dialog response help - by Kindred - 23.06.2012, 21:05
Re: Dialog response help - by PaulDinam - 23.06.2012, 21:10
Re: Dialog response help - by Kindred - 23.06.2012, 21:12
Re: Dialog response help - by PaulDinam - 23.06.2012, 21:21
Re: Dialog response help - by Kindred - 23.06.2012, 21:24
Re: Dialog response help - by PaulDinam - 23.06.2012, 21:31

Forum Jump:


Users browsing this thread: 1 Guest(s)