Create3dtextlabel problem
#1

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.
Reply
#2

Show the creation of a variable "HouseTextLabel""
Reply
#3

Код:
HouseTextLabel[MAX_HOUSES];
Reply
#4

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)