SA-MP Forums Archive
Create3dtextlabel problem - 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: Create3dtextlabel problem (/showthread.php?tid=456498)



Create3dtextlabel problem - Maxandmov - 06.08.2013

Hey guys. I've been working on lil' something and while trying to script Create3dTextLabel, the 'Tag mismatch' warning occured. I keep guessing what's wrong. Mind helping me?

Код:
HouseTextLabel[HouseID[playerid]] = Create3DTextLabel(str, COLOR_HOUSE, HouseInfo[HouseID[playerid]][hEnX], HouseInfo[HouseID[playerid]][hEnY], HouseInfo[HouseID[playerid]][hEnZ], 50.0, 0, 0);
P.S. Create3dTextLabel is all good, but there's a mismatch during the HouseTextLabel[HouseID[playerid]] = ... . And I simply don't get what's the issue, as Create3dTextLabel returns an ID of the label, and HouseTextLabel var is integer as well as an ID.


Re: Create3dtextlabel problem - McLuhan - 06.08.2013

Show the creation of a variable "HouseTextLabel""


Re: Create3dtextlabel problem - Maxandmov - 06.08.2013

Код:
HouseTextLabel[MAX_HOUSES];



Re: Create3dtextlabel problem - CutX - 06.08.2013

instead of
Код:
new HouseTextLabel[MAX_PLAYERS];
do
Код:
new Text3D:HouseTextLabel[MAX_PLAYERS];



Re: Create3dtextlabel problem - Maxandmov - 06.08.2013

Thanks a lot man. Yo' really helped me out.