SA-MP Forums Archive
Textdraw is overriding the HUD - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw is overriding the HUD (/showthread.php?tid=641498)



Textdraw is overriding the HUD - Amit1998 - 16.09.2017

Hello,
I got a textdraw that is using a black box as a background, and as a result of that the background is blocking the main HUD.

For example when a player uses the command:/use, the textdraw appears with a black background(as it should) but he cannot see his money/hp/ap because the background is overriding the hud.

How can I fix this?
thanks.


Re: Textdraw is overriding the HUD - Deadpoop - 16.09.2017

Change the textdraw position


Re: Textdraw is overriding the HUD - Amit1998 - 16.09.2017

The textdraw is a full background.
It's black and it takes the full screen size. I want it to be displayed beneath the hud and not above it.


Re: Textdraw is overriding the HUD - GoldenLion - 16.09.2017

That's not possible.


Re: Textdraw is overriding the HUD - Amit1998 - 16.09.2017

Quote:
Originally Posted by GoldenLion
Посмотреть сообщение
That's not possible.
I have seen it in a server; They used a black background and the HUD was visible.


Re: Textdraw is overriding the HUD - OneDay - 16.09.2017

make your own hud


Re: Textdraw is overriding the HUD - Gammix - 16.09.2017

With textdraw on full screen its not possible.

But a smart way is using camera, Set player camera facing a Black wall.


Re: Textdraw is overriding the HUD - Amit1998 - 16.09.2017

Quote:
Originally Posted by Gammix
Посмотреть сообщение
With textdraw on full screen its not possible.

But a smart way is using camera, Set player camera facing a Black wall.
Haven't thought of that, are there coords you're able to share ?
Thanks for the suggestion c;