Warning
#1

Код HTML:
E:\project\svr\gmi.pwn(54518) : warning 213: tag mismatch
Line:

Код HTML:
 businessV[Player[dealer][pBiz]][hLabelID] = CreateDynamic3DTextLabel(labelString, COLOR_YELLOW, businessVariables[Player[dealer][pBusiness]][bExteriorPos][0], businessVariables[Player[dealer][pBiz]][bExteriorPos][1], businessVariables[Player[dealer][pBiz]][bExteriorPos][2], 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1-1, 10.0);
,
Reply
#2

PHP код:
CreateDynamic3DTextLabel(labelStringCOLOR_YELLOWbusinessVariables[Player[dealer][pBusiness]][bExteriorPos][0], businessVariables[Player[dealer][pBiz]][bExteriorPos][1], businessVariables[Player[dealer][pBiz]][bExteriorPos][2], 100INVALID_PLAYER_IDINVALID_VEHICLE_ID0, -1, -1, -110.0); 
Reply
#3

https://sampwiki.blast.hk/wiki/Create3DTextLabel

Read it, please
Reply
#4

this should be
, 0, -1, -1-1, 10.0);

this is correct
, 0, -1, -1 ,-1, 10.0);
Reply
#5

I changed it. Same problem.
Reply
#6

Show me your COLOR_YELLOW define.
Reply
#7

Quote:
Originally Posted by oMa37
Посмотреть сообщение
Show me your COLOR_YELLOW define.
Why you think the problem is here? The error is tag mismatch.


Show your "businessV" and "businessVariables" enums.
Reply
#8

Does hLabelID in the enumerator have Text3D: tag? If not, add it before.
Reply
#9

Код HTML:
enum businessE {
	bType,
	bOwner[MAX_PLAYER_NAME],
	bName[32],
	Float: bExteriorPos[3],
	Float: bInteriorPos[3],
	bInterior,
	bLocked,
	Float:bMiscPos[3],
	bVault,
	Text3D:bLabelID,
	bPickupID,
	bPrice,
	bEnterPrice,
	bStreamType,
	bStream[200],
}
Reply
#10

Okay, the mistake is that you used hLabelID instead of bLabelID here:
pawn Код:
businessV[Player[dealer][pBiz]][hLabelID]
and a different enum is used for businessV array.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)