Server crash
#4

One player crash server with this dialog,but i don't know how?
Код:
		if(dialogid == 50)
		{
			if(!response) return 1;
			if(response)
			{
				if(IsNumeric(inputtext))
				{
					if(strval( inputtext ) >= 1 ||  strval( inputtext ) <= 80 )
					{
						SafeGivePlayerMoney(playerid, - 50);
						PlayerInfo[playerid][pLottoNr] = strval(inputtext);
						format(string, sizeof(string), "Kupili ste listic s brojem %d.", strval(inputtext));
						SendClientMessage(playerid, COLOR_WHITE, string);
					}
					else
					{
						ShowPlayerDialog(playerid, 50, DIALOG_STYLE_INPUT, "Market", "Unesite broj koji zelite.", "Ok", "Izadji");
						return 1;
					}
				}
			}
		}
Reply


Messages In This Thread
Server crash - by CloW - 11.01.2015, 16:46
Re: Server crash - by CloW - 11.01.2015, 17:38
Re: Server crash - by www - 11.01.2015, 18:42
Re: Server crash - by CloW - 11.01.2015, 19:03
Re: Server crash - by CloW - 11.01.2015, 19:08
Re: Server crash - by Ciarannn - 11.01.2015, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)