how to create this type of box in the textdraw??
#1

Can anyone tell em the color code and how to create this type of box in textdraws??


here is the link for image:http://miscpix.com/uploaded.php?id=4ngbt
Reply
#2

https://sampwiki.blast.hk/wiki/TextDrawCreate
Reply
#3

TextDrawUseBox

I would suggest you to use this filterscript to easily create TD's

Zamaroht's Textdraw Editor
Reply
#4

Quote:
Originally Posted by [MM]RoXoR[FS]
Посмотреть сообщение
TextDrawUseBox

I would suggest you to use this filterscript to easily create TD's

Zamaroht's Textdraw Editor
i used both but when i use TextDrawCreateBox it creates the box a full line.Tell em how to resize it.
Reply
#5

Quote:
Originally Posted by Gamer_007
Посмотреть сообщение
i used both but when i use TextDrawCreateBox it creates the box a full line.Tell em how to resize it.
TextDrawTextSize(draw, x, y);
Reply
#6

Quote:
Originally Posted by SEnergy
Посмотреть сообщение
TextDrawTextSize(draw, x, y);
I m talking about the box not the text
Reply
#7

Quote:
Originally Posted by Gamer_007
Посмотреть сообщение
I m talking about the box not the text
did you try it?
Reply
#8

When you resize the text, the box also resizes . Try it out.
Use Zamaroth's Text Editor to test it without putting it in your mod.
Reply
#9

Here's a quote from the wiki.
Quote:
TextDrawTextSize - "Change the size of a textdraw (box if TextDrawUseBox is enabled..."

Just give it a try man!
Reply
#10

175, 5
i'm using this for bigger box

125, 5 for smaller

pawn Код:
TextDrawUseBox(draw, 1);
    TextDrawBoxColor(draw, 0x00000055);
    TextDrawTextSize(draw, 175, 5);
    TextDrawShowForPlayer(playerid, draw);
for cheat-like box
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)