Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
How can i update 3d text label
hol = Create3DTextLabel("House Owned\nStatus: Locked",COLOR_GREEN,HouseInfo[idx][hEntrancex],HouseInfo[idx][hEntrancey],HouseInfo[idx][hEntrancez]+0.3,7,0);
like a command for updating this for other text.
this is doesn't works for me
Update3DTextLabelText(hol, COLOR_GREEN, "text");
Posts: 373
Threads: 8
Joined: Apr 2011
Reputation:
0
is the "hol" defined as :
new hol;
or
new Text3D:hol;
?
Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
new Text3D:hol;
it's a house system like after the player doing /buyhouse the textdraw will be updated
Posts: 373
Threads: 8
Joined: Apr 2011
Reputation:
0
If i understand your code correctly you are trying to create a single 3dtext for every house.
I suggest :
add "Text3D:h3D" to enum "HouseInfo"
replace "hol" with :
HouseInfo[idx][h3D] = Create3DTextLabel....
Update3DTextLabelText(HouseInfo[idx][h3D], COLOR_GREEN, "text");
Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
what do you mean by
add "Text3D:h3D" to enum "HouseInfo"
Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
okay i made 3d labels but after a command how do i update
there is no such symbol idx
Update3DTextLabelText(HouseInfo[252][h3D], COLOR_GREEN, "House Owned\nStatus: Open");
and this is not working too.