TextDraw
#1

How to take the dark off the textdraw?
Reply
#2

https://sampwiki.blast.hk/wiki/TextDrawSetShadow

Use
pawn Код:
TextDrawSetShadow(mytextdraw, 0);
Reply
#3

Код:
C:\Users\\gamemodes\PPC_Trucking.pwn(175) : error 017: undefined symbol "MyTextDraw"
C:\Users\\gamemodes\PPC_Trucking.pwn(176) : error 017: undefined symbol "MyTextDraw"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Reply
#4

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/TextDrawSetShadow

Use
pawn Код:
TextDrawSetShadow(mytextdraw, 0);
I think he's talking about the box (TextDrawBox)
Reply
#5

Quote:
Originally Posted by Lauder
Посмотреть сообщение
I think he's talking about the box (TextDrawBox)
Yes. MyTextDraw was an example of where your textdraw should go.
You will have something like this in your script:
pawn Код:
textdraw = TextDrawCreate...
Whatever the textdraw id for the textdraw you are trying to fix is, replace MyTextDraw with it. This was merely an example.

EDIT: @Lauder
I wasn't talking to you in this post. xD
Reply
#6

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
Yes. MyTextDraw was an example of where your textdraw should go.
You will have something like this in your script:
pawn Код:
textdraw = TextDrawCreate...
Whatever the textdraw id for the textdraw you are trying to fix is, replace MyTextDraw with it. This was merely an example.
Ho ok
Reply
#7

What do you axactly mean with take the dark off the textdraw?
If you want the box to be removed so you just have text use this.
TextDrawUseBox(The name of your textdraw here , 0);

1 is box enabled, 0 is box disabled.

If this helped please +rep me!
Reply
#8

Quote:
Originally Posted by DerickClark
Посмотреть сообщение
Код:
C:\Users\\gamemodes\PPC_Trucking.pwn(175) : error 017: undefined symbol "MyTextDraw"
C:\Users\\gamemodes\PPC_Trucking.pwn(176) : error 017: undefined symbol "MyTextDraw"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Seriously? replace MyTextDraw with your text draw name.
Reply
#9

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
Yes. MyTextDraw was an example of where your textdraw should go.
You will have something like this in your script:
pawn Код:
textdraw = TextDrawCreate...
Whatever the textdraw id for the textdraw you are trying to fix is, replace MyTextDraw with it. This was merely an example.

EDIT: @Lauder
I wasn't talking to you in this post. xD
What lol
Reply
#10

Post the textdraw code if you still have problems.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)