Jump to content
  • 0

Problema text srv


Jupiter

Question

Problema intalnita (descriere): pai nu imi apar textele pe la case,bizuri,factiuni
Ero(area / rile) / warning-(ul / urile): ----
Liniile de cod / sursa / script-ul(obligatoriu): 

			if(HouseInfo[h][hOwned] == 0)
	        {
	          format(string, sizeof(string), "{FFFFFF}The State n {FFFFFF}Info: {09AFF7}%s n {FFFFFF}Cost: {09AFF7}%d$ n {FFFFFF}Level: {09AFF7}%d n {FFFFFF}Scrie {09AFF7}/buyhouse.",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
			  HouseLabel[h] = Create3DTextLabel(string ,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15, 0, 1);
		    }
			if(HouseInfo[h][hOwned] == 1)

							if(HouseInfo[h][hRentabil] == 0)
							{
							    format(string, sizeof(string), "{FFFFFF}Info: {09AFF7}%s n {FFFFFF}Proprietar: {09AFF7}%s n {FFFFFF}Cost: {09AFF7}%d$ n {FFFFFF}Level: {09AFF7}%d",HouseInfo[h][hDiscription],HouseInfo[h][hOwner],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
							    HouseLabel[h] = Create3DTextLabel(string ,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15, 0, 1);
							}
							else
							{
								 format(string, sizeof(string), "{FFFFFF}Info: {09AFF7}%s n {FFFFFF}Proprietar: {09AFF7}%s n {FFFFFF}Cost: {09AFF7}%d$ n {FFFFFF}Level: {09AFF7}%d n {FFFFFF}Rent: {09AFF7}$%d n {FFFFFF}Scrie {09AFF7}/rentroom ",HouseInfo[h][hDiscription],HouseInfo[h][hOwner],HouseInfo[h][hValue],HouseInfo[h][hLevel],HouseInfo[h][hRent]);
							     HouseLabel[h] = Create3DTextLabel(string ,0x00B3FFC8,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15, 0, 1);
							}
	}
	for(new h = 0; h < sizeof(BizzInfo); h++)
	{
			if(BizzInfo[h][bOwned] == 1)
			{
	            format(string, sizeof(string), "{04E2FB}%sn Proprietar: %sn Extortion by : %sn Entrance Fee : %d$n Level : %dn ",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevel]);
				BizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1,15,0,1);
				BizzPickup[h] = CreateDynamicPickup(1314, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
			}
			else
			{


	            format(string, sizeof(string), "[SALE]n$ %d",BizzInfo[h][bPrice]);
				BizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1,15,0,1);
				BizzPickup[h] = CreateDynamicPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
			}
	}
	for(new h = 0; h < sizeof(SBizzInfo); h++)
	{
			if(SBizzInfo[h][sbOwned] == 1)
			{
				format(string, sizeof(string), "{04E2FB}%sn Proprietar: %sn Extortion by : %sn Entrance Fee: %d$n Level : %dn ",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevel]);
				SBizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+1,15,0,1);
				SBizzPickup[h] = CreateDynamicPickup(1272, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
			}
			else
			{
				format(string, sizeof(string), "[SALE]n$ %d",SBizzInfo[h][sbPrice]);
				SBizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+1,15,0,1);
				SBizzPickup[h] = CreateDynamicPickup(1272, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
			}
	}

Imagini / Video (optional): c5VsLOh.png
Ati incercat sa rezolvati singur?: Da

Edited by Jupiter
Link to comment
Share on other sites

2 answers 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.