Warning - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Warning (
/showthread.php?tid=607017)
Warning -
Nin9r - 13.05.2016
Код 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);
,
Re: Warning -
oMa37 - 13.05.2016
PHP код:
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);
Re: Warning -
BiosMarcel - 13.05.2016
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Read it, please
Re: Warning -
MBilal - 13.05.2016
this should be
, 0, -1, -1-1, 10.0);
this is correct
, 0, -1, -1 ,-1, 10.0);
Re: Warning -
Nin9r - 13.05.2016
I changed it. Same problem.
Re: Warning -
oMa37 - 13.05.2016
Show me your COLOR_YELLOW define.
Re: Warning -
Darkwood17 - 13.05.2016
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.
Re: Warning -
Konstantinos - 13.05.2016
Does
hLabelID in the enumerator have
Text3D: tag? If not, add it before.
Re: Warning -
Nin9r - 13.05.2016
Код 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],
}
Re: Warning -
Konstantinos - 13.05.2016
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.