06.02.2018, 10:56
Quote:
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'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.