Problem with checkpoint - textual.
#3

Код:
stock GetHouseStats(playerid, hid)
{
	SendClientMessage(playerid, GREY, "|__________| House Commands |__________|");
        SendClientMessage(playerid, WHITE, "/househelp | /buy | /visithouse.");

	SendClientMessage(playerid, GREY, "|__________| House Information |__________|");
        new string[256];

    if (strcmp(hInfo[hid][Name],"ForSale",true))
    {
		format(string, sizeof(string), "Owned by: %s.", hInfo[hid][Name]);
  		SendClientMessage(playerid, WHITE, string);
	}
	else
	{
	    SendClientMessage(playerid, WHITE, "This house is for sale.");
	}

	hid = Gethi(playerid);
	if(strcmp(hInfo[hid][Renter],"ForRent",true))
	{
		format(string, sizeof(string), "Rented by: %s.", hInfo[hid][Renter]);
		SendClientMessage(playerid, WHITE, string);
	}
	format(string, sizeof(string), "Cost: %i.", hInfo[hid][Cost]);
	SendClientMessage(playerid, WHITE, string);
}
Reply


Messages In This Thread
Problem with checkpoint - textual. - by Carvos - 12.06.2011, 19:07
Re: Problem with checkpoint - textual. - by ScottCFR - 12.06.2011, 19:17
Re: Problem with checkpoint - textual. - by Carvos - 12.06.2011, 20:06
Re: Problem with checkpoint - textual. - by Carvos - 12.06.2011, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)