Displaying wepon images in textdraws?
#1

Hey, got this little question.

Those weapon images shown in death messages. Is it possible to show them in the textdraw? Like a sprite?
Reply
#2

Yes.
Reply
#3

Quote:
Originally Posted by T0pAz
Посмотреть сообщение
Yes.
If yes, how? I have never used sprites in textdraws. I know I need to set the font to 4, but I dont know the part you need to enter in the TextDrawCreate native.

Could you explain me please? I will +rep ofcourse.
Reply
#4

That's actually LIB:image

LIB: The txd file(without the extension).
image: The texture name.

For e.j.
pawn Код:
TextDrawCreate(0.0, 0.0, "samaps:map");
You may want to use this software to get the sprites.
Reply
#5

But I found only fists image and no other weapons...
Reply
#6

Quote:
Originally Posted by Universal
Посмотреть сообщение
But I found only fists image and no other weapons...
There are.
Reply
#7

Still cant find them...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)