Deathicons in textdraw
#1

Is there any way you can use the deathicons in a textdraw?
I'm guessing these icons are located in the gtaweap3.tff file, so could these icons maybe be used as a font in samp?
If not could the weapon icons displayed in the top right corner be used in a textdraw?
Reply
#2

Yes theres a way i guess.
Reply
#3

https://sampwiki.blast.hk/wiki/TextDraw_Sprites
Reply
#4

Quote:
Originally Posted by [ND]xXZeusXx.
View Post
Yes theres a way i guess.
Well ok, but how is the question.
Reply
#5

Read the WIKI, everything you need you can find on that page.
Use TextDrawFont and TextDrawSetString to set font ID 4 and texture name.
Reply
#6

Well, if i was you i'd download the images and turn em into sprites.
Reply
#7

Quote:
Originally Posted by prineside
View Post
Read the WIKI, everything you need you can find on that page.
Use TextDrawFont and TextDrawSetString to set font ID 4 and texture name.
Yes, I will look into it, I forgot to quote the comment I wanted to reply to (hadn't refreshed the page and therefore didn't see your comment ).
Reply
#8

Quote:
Originally Posted by prineside
View Post
Read the WIKI, everything you need you can find on that page.
Use TextDrawFont and TextDrawSetString to set font ID 4 and texture name.
The wiki states this:
Currently, only the libraries found in <SA Dir>/models/txd/ and <SA Dir>/SAMP/ can be used.
And none of the .txd files in those directories (or any other in the SA DIR) contain any weapon sprites (except for hud.txd which contains only the fist icon).
I'm pretty sure the deathicons are just taken from gtaweap3.ttf :/.

Quote:
Originally Posted by [ND]xXZeusXx.
View Post
Well, if i was you i'd download the images and turn em into sprites.
How can I use custom sprites not located in the GTA SA directory? If I were to add these images to a .txd file, wouldn't only I be able to see those sprites?
Reply
#9

Search for a converter, its here on SA-MP forums, wait ill link you up

There, ------> https://sampforum.blast.hk/showthread.php?tid=274064 <------- And Here!
Reply
#10

That isn't really the solution I'm looking for, but it is probably the only one that achieves what I want to display at the moment in this samp version. Thank you nonetheless.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)