question about 3d attach
#5

Quote:
Originally Posted by KayJ
Посмотреть сообщение
Untested, let me know if problem persists.

EDIT: I saw that this will not delete the 3Dlabel once created so what you can do is; add timer to delete it.
You don't use them like that... Use an array of 3dtexts for each player, and simply clear it so it's empty when you don't want things to show.

You're making a variable, which is one. One person gets shot, that variable will match their 3dtext. Another gets shot, that original text stays, the next person gets the ID for the text. The first text is now stuck on the original player, and if they get hit again it'll likely double up... Not duplicate, but the old values on the old text, and the new variable on the new text.


And this is also because you create a local variable, so in that callback at that time, the variable will exist, but in others, it won't. Hence why global array of text for each player is better.
Reply


Messages In This Thread
question about 3d attach - by ivndosos - 06.02.2018, 09:20
Re: question about 3d attach - by PepsiCola23 - 06.02.2018, 09:34
Re: question about 3d attach - by ivndosos - 06.02.2018, 09:37
Re: question about 3d attach - by KayJ - 06.02.2018, 09:48
Re: question about 3d attach - by Sew_Sumi - 06.02.2018, 10:56
Re: question about 3d attach - by solstice_ - 06.02.2018, 14:22
Re: question about 3d attach - by Mugala - 06.02.2018, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)