error 035: argument type mismatch (argument 1)
#1

I'm trying to do the command to change the frequency by entering the frequency required in Dialog_Style_Input change that failed in this CMD part people see their faults and fears help easily. thanks

VietNamese (( mмnh đang thử lаm lại lệnh thay đổi tần số số bằng cбch nhập cбc tần số cần thiết trong Dialog_Style_Input thay đổi mа khфng thаnh cфng trong CMD nаy phần mọi người nhмn thấy lỗi của mмnh vа nỗi lo giъp đỡ một cбch dễ dаng. thanks
P/S: cбc bạn nаo Việt Nam biết về lỗi nаy giъp mмnh nha, cбm ơn nhiều))

CODE CMD English
Код:
CMD:setfreq(playerid, params[])
{
	new inputtext, frequency;
	if(sscanf(inputtext, u, frequency)) // <-- error 035: argument type mismatch (argument 1) In this Line
	{
		ShowPlayerDialog(playerid, DIALOG_TANSO, DIALOG_STYLE_INPUT, "Enter the frequency ", " frequency may be higher and lower than 9999999 -9999999! \ n HINT: Set up your frequency la 0, se ve radio default mode. ", "Choice ", " Cancel ");
	}
	return 1;
}
CODE CMD Vietnamese
Код:
CMD:setfreq(playerid, params[])
{
	new inputtext, frequency;
	if(sscanf(inputtext, u, frequency))
	{
		ShowPlayerDialog(playerid, DIALOG_TANSO, DIALOG_STYLE_INPUT, "Nhap Tan So", "Tan so co the cao hon -9999999 va thap hon 9999999!\n HINT: Thiet lap tan so cua ban la 0 , radio se ve che do mac dinh.", "Lua chon", "Huy bo");
	}
	return 1;
}
Thanks for the help!!! (( Cбm ơn vм sự giъp đỡ ))
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)