[3dTextLabels] Using a string
#5

Quote:
Originally Posted by » JoFi »
Have you tried whitout "name" variable like,

Quote:

HouseInfo[houseid][hText] = Create3DTextLabel("Bought House",0x8D8DFF00,HouseInfo[houseid][hExitX], HouseInfo[houseid][hExitY], HouseInfo[houseid][hExitZ]+2,40.0,0);

Does it work if you make it like that?

I know you need to use "name" but how about try that and then tell does it work
And ofc you need delete & make new textlabel when someone buy or sell that house.
Ofcourse I have set to update the label when bought or sold.

Without the formatted string it works without a bug.

Quote:
Originally Posted by jonrb
is the variable "name" too small?
Код:
MAX_PLAYER_NAME = 24 
STRING = 9
MAX_PLAYER_NAME + STRING = 33
Formatted string (name) = 128

Quote:
Originally Posted by NiiRV4N4
Loop all of the houses then use JoFi's code expect replace houseid with i. Make sure the string is big enough.
The loop is using the variable houseid, no need to change that. Also JoFi's reply contains a non-formatted string which resolves the problem, but not the way I want it to have.
Reply


Messages In This Thread
[3dTextLabels] Using a string - by KnooL - 23.06.2010, 15:01
Re: [3dTextLabels] Using a string - by jonrb - 23.06.2010, 15:20
Re: [3dTextLabels] Using a string - by Jofi - 23.06.2010, 15:37
Re: [3dTextLabels] Using a string - by NiiRV4N4 - 23.06.2010, 16:08
Re: [3dTextLabels] Using a string - by KnooL - 23.06.2010, 16:12
Re: [3dTextLabels] Using a string - by Jofi - 23.06.2010, 17:17
Re: [3dTextLabels] Using a string - by KnooL - 16.07.2010, 13:51

Forum Jump:


Users browsing this thread: 1 Guest(s)