SA-MP Forums Archive
[HELP]: Class Selection - 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: [HELP]: Class Selection (/showthread.php?tid=467828)



[HELP]: Class Selection - Areax - 05.10.2013

Hello!

How to make something like this ? So it will be this black things down and up of the screen ?

Like this:



Thanks!


Re: [HELP]: Class Selection - iJumbo - 05.10.2013

two big textdraw black boxes?


Re: [HELP]: Class Selection - Areax - 05.10.2013

Quote:
Originally Posted by iJumbo
Посмотреть сообщение
two big textdraw black boxes?
Yes.


Re: [HELP]: Class Selection - iJumbo - 05.10.2013

yea so why you don't start draw them on your server, or post your piece of code so we can tell you what is bad?


Re: [HELP]: Class Selection - Areax - 05.10.2013

I don't know how to make it..


Re: [HELP]: Class Selection - Threshold - 05.10.2013

https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawBackgroundColor
https://sampwiki.blast.hk/wiki/TextDrawAlignment
https://sampwiki.blast.hk/wiki/TextDrawDestroy
https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
https://sampwiki.blast.hk/wiki/TextDrawHideForPlayer

Quote:
Originally Posted by SA-MP Forums
Important Notes:
Maximum length of textdraw is 800 characters. Longer text will crash the client.
If you use color codes (such as ~R~ ~G~) beyond 255th character the client will crash trying to display the textdraw.
If you choose values for y that are less than 1, the first text row will be invisible and only the shadow is visible.
text[] must NOT be empty or the server will crash! If you need a textdraw that shows nothing, use " " (a space) or _ (underscore)
If the last character in the text is a space (" "), the text will all be blank.
If part of the text is off-screen, the colour of the text will not show, only the shadow (if enabled) will.
Have fun.


Re: [HELP]: Class Selection - Areax - 05.10.2013

I need only box..

EDIT: I know how to create normal textdraw, but how to create only box ?


Re: [HELP]: Class Selection - Threshold - 05.10.2013

TextDrawBackgroundColor with the text in TextDrawCreate being " " or "_".


Re: [HELP]: Class Selection - Areax - 05.10.2013

Thanks for help, I finally made it!