08.03.2018, 17:38
(
Последний раз редактировалось Michalec; 08.03.2018 в 22:22.
)
Hi.
I've noticed a weird problem on my server with order of my textdraws.
Today I've created a little script to test it on a clean server.
Here is the code of this script: https://pastebin.com/auWGMxeS
In short:
Starting with /run command.
I'm creating 4 Textdraws with some text on each. Then showing these textdraws.
After that, I'm creating a textdraw to fulfill the screen on black.
This is what happens after running /run:
https://prnt.sc/iolb6f
Then I'm running /destroy (function hides and destroys all textdraws that I've created except one):
https://prnt.sc/iolbzr
As you can see - after removing some textdraws that are under my filled screen and that one that is over my blackfilled textdraw - the last one goes over this black textdraw.
Can someone explain me... what is going on?
Regards.
I've noticed a weird problem on my server with order of my textdraws.
Today I've created a little script to test it on a clean server.
Here is the code of this script: https://pastebin.com/auWGMxeS
In short:
Starting with /run command.
I'm creating 4 Textdraws with some text on each. Then showing these textdraws.
After that, I'm creating a textdraw to fulfill the screen on black.
This is what happens after running /run:
https://prnt.sc/iolb6f
Then I'm running /destroy (function hides and destroys all textdraws that I've created except one):
https://prnt.sc/iolbzr
As you can see - after removing some textdraws that are under my filled screen and that one that is over my blackfilled textdraw - the last one goes over this black textdraw.
Can someone explain me... what is going on?
Regards.