Problem with 3D text in house system
#4

When player enter checkpoint it shows a dialog for buy or cancel

Код:
   if(!strcmp(hInfo[h][HouseOwner], INVALID_HOWNER_NAME, CASE_SENSETIVE) && hInfo[h][HouseValue] > 0 && GetPVarInt(playerid, "JustCreatedHouse") == 0)
				{
					format(string, sizeof(string), HMENU_BUY_HOUSE, hInfo[h][HouseValue]);
					ShowPlayerDialog(playerid, HOUSEMENU+4, DIALOG_STYLE_MSGBOX, INFORMATION_HEADER, string, "Buy", "Cancel");
					break;
				}
		    }
		    if(checkpointid == HouseCPInt[h])
		    {
		        switch(GetPVarInt(playerid, "HousePreview"))
		        {
		            case 0: ExitHouse(playerid, h);
		            #if GH_HINTERIOR_UPGRADE == true
		            case 1:
			        {
						GetPVarString(playerid, "HousePrevName", tmpstring, 50);
						format(string, sizeof(string), HMENU_BUY_HINTERIOR, tmpstring, GetPVarInt(playerid, "HousePrevValue"));
						ShowPlayerDialog(playerid, HOUSEMENU+17, DIALOG_STYLE_MSGBOX, INFORMATION_HEADER, string, "Buy", "Cancel");
			        }
		            #endif
		        }
				break;
		    }
	    }
	}
	return 1;
Reply


Messages In This Thread
Problem with 3D text in house system - by Stoyanov - 28.10.2014, 13:43
Re: Problem with 3D text in house system - by Laurey - 28.10.2014, 13:46
Re: Problem with 3D text in house system - by Stoyanov - 28.10.2014, 13:49
Re: Problem with 3D text in house system - by Stoyanov - 28.10.2014, 13:51
Re: Problem with 3D text in house system - by Stoyanov - 28.10.2014, 13:56
Re: Problem with 3D text in house system - by Stoyanov - 28.10.2014, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)