fix these 4 errors please!
#1

I got 4 errors after updating my streamer! Please fix these errors for me
HTML Code:
(16899) : error 017: undefined symbol "distance"
(16899) : warning 215: expression has no effect
(16899) : error 001: expected token: ";", but found ")"
(16899) : error 029: invalid expression, assumed zero
(16899) : fatal error 107: too many error messages on one line
Code:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1,.distance = 30.0);
fix that line and give me the correct one please Thanks for help
Reply
#2

pawn Code:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, 1, 30.0);
Reply
#3

Fixed But i have now warning " TAG Missmatch " and i got another bug! I CAN't see the houses IDS/owners/price/level ect i only see the green mark!
Reply
#4

when i fixed these errors that hapened :// so please fix these warnings ( fixed gates bug and now houses bug ://)
Reply
#5

Show us the whole house code?
Reply
#6

Quote:
Originally Posted by captainjohn
View Post
Show us the whole house code?
is that enough:
Code:
	if(HouseInfo[iIndex][hOwned]) {
			if(HouseInfo[iIndex][hRentable] == 0) format(szFileStr, sizeof(szFileStr), "This house is owned by\n%s\nLevel: %d\nID: %d",HouseInfo[iIndex][hOwner],HouseInfo[iIndex][hLevel],iIndex);
			else format(szFileStr, sizeof(szFileStr), "This house is owned by\n%s\nRent: $%d\nLevel: %d\nID: %d\nType /rentroom to rent a room",HouseInfo[iIndex][hOwner],HouseInfo[iIndex][hRentFee],HouseInfo[iIndex][hLevel],iIndex);
		}
		else format(szFileStr, sizeof(szFileStr), "This house is\n for sale!\n Description: %s\nCost: $%d\n Level: %d\nID: %d\nTo buy this house type /buyhouse",HouseInfo[iIndex][hDescription],HouseInfo[iIndex][hValue],HouseInfo[iIndex][hLevel],iIndex);

		HouseInfo[iIndex][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]);
		HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, 1, 30.0);
		++iIndex;
	}
Reply
#7

I used to have that bug, did you try to use
pawn Code:
Create3DTextLabel
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)