Jump to content
  • 0

problema 3dtextlabel


Mr.Big

Question

1)Am un sistem simplu la case de 3d TExt , si m-am gandit sa il fac mai complex. Rezultat ? Nu mai apare de loc

if(HouseInfo[h][hOwned] == 1)
		{
 			//CreateMapIcon(32, 0, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
			if(HouseInfo[h][hRentabil] == 0)
			{
				format(string, sizeof(string), "Owned:%s \n Level:%d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
				housecumparat = Create3DTextLabel(string,COLOR_YELLOW, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez]+1,10.0,0);
			}
			if(HouseInfo[h][hRentabil] == 1)
			{
				format(string, sizeof(string), "Owned:%s \n Rent:%d$ \n Level:%d \n Type/rentroom \n To rent a room",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
				housecumparat = Create3DTextLabel(string,COLOR_YELLOW, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez]+1,10.0,0);
			}
	    }
	    if(HouseInfo[h][hOwned] == 0)
	    {
	        format(string, sizeof(string), "House is for sale ! \n Discription: %s \n Cost:%d$ \n Level: %d \n To buy this house \n type /buyhouse",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
	        housesale = Create3DTextLabel(string,COLOR_YELLOW, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez]+1,10.0,0);
	    }

2) Am un sistem de gungame , iar event-ul se sfarseste dupa un timer.

As vrea sa se sfarseasca dupa ce nu mai e niciun player din echipa adeversa.

Echipele sunt : PlayerGunGameSpawn[playerid] = 1 ; PlayerGunGameSpawn[playerid] = 2;

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.