View Single Post
Old 19.04.2007, 12:40   #13
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

I DO IT!!! Omg
Code:
	handler MENU_SELECTED (talker, ask, reply, state, fhtml0, i0, i1, i2)
	{
		if (ask == -231)
		{
			if (reply == 1)
			{
				myself->ShowSellSeedList(talker, manor_id);
			}
			elseif (reply == 2)
			{
				myself->ShowProcureCropList(talker, manor_id);
			}
			elseif (reply == 3)
			{
				myself->FHTML_SetFileName(fhtml0, ("seed_client_info" + state + ".htm"));
				for (i2 = 1; i2 <= 25; i2 = i2 + 1 )
				{
					myself->FHTML_SetInt(fhtml0, ("CurrentSeedCount" + i2), (myself->GetCurrentSeedSellCountSet(state, i2)));
					myself->FHTML_SetInt(fhtml0, ("CurrentSeedPrice" + i2), (myself->GetCurrentSeedPrice(state, i2)));
					myself->FHTML_SetInt(fhtml0, ("CurrentSeedRemain" + i2), (myself->GetCurrentSeedRemainCount(state, i2)));
				}
				myself->ShowFHTML(talker, fhtml0);
			}
HF is offline