3d Text Labels Question
#1

Edit: Starting to think this a problem caused elsehwere, since I have been debugging this today. Still, if there are any noticeable issues with my labels any feedback is very much appreciated.

Hi,

I'm using 3d text labels but I'm having an issue where labels seem to overwrite each other, I was wondering if I'm doing it wrong.

I'm using enums for each of the sets of data.

PHP код:
enum wData
{
    
Text3D:wLabel

PHP код:
enum dData
{
    
Text3D:GunLabel

Let's say I create my first label with wData.

PHP код:
thisData[slotToUse][wLabel] = Create3DTextLabel... etc 
then my second with dData.

PHP код:
dInfo[i][GunLabel] = Create3DTextLabel... etc 
Now am I confused with how the label system works here? Are these label ids able to conflict?

To update my labels I'm using the following.

PHP код:
Update3DTextLabelText(thisData[i][wLabel], COLOR_WHITElabelText); 
To delete I'm using the following.

PHP код:
Delete3DTextLabel(thisData[i][wLabel]); 
The problem is sometimes the data from dData will appear in wData's text labels.

Is this an issue or is the problem occurring elsewhere in my code?
Thanks for any replies.
Reply


Messages In This Thread
3d Text Labels Question - by DanLore - 01.05.2015, 18:10
Re: 3d Text Labels Question - by Alpay0098 - 01.05.2015, 18:12
Re: 3d Text Labels Question - by DanLore - 01.05.2015, 18:17
Re: 3d Text Labels Question - by Mencent - 01.05.2015, 18:51
Re: 3d Text Labels Question - by J0sh... - 01.05.2015, 18:52
Re: 3d Text Labels Question - by Mencent - 01.05.2015, 18:54
Re: 3d Text Labels Question - by DanLore - 01.05.2015, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)