01.05.2015, 18:10
(
Последний раз редактировалось DanLore; 01.05.2015 в 19:24.
)
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.
Let's say I create my first label with wData.
then my second with dData.
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.
To delete I'm using the following.
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.
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
}
PHP код:
thisData[slotToUse][wLabel] = Create3DTextLabel... etc
PHP код:
dInfo[i][GunLabel] = Create3DTextLabel... etc
To update my labels I'm using the following.
PHP код:
Update3DTextLabelText(thisData[i][wLabel], COLOR_WHITE, labelText);
PHP код:
Delete3DTextLabel(thisData[i][wLabel]);
Is this an issue or is the problem occurring elsewhere in my code?
Thanks for any replies.