Quantcast

Jump to content

» «
Photo

How to add a sprite to a mod menu? (C++)

1 reply to this topic
gpackers52
  • gpackers52

    Player Hater

  • Members
  • Joined: 4 weeks ago
  • United-States

#1

Posted 4 weeks ago

How and where in my code would I add a sprite like xenmenu?


EdUaRdO - Brazil
  • EdUaRdO - Brazil

    Old Retired Scripter

  • Members
  • Joined: 14 Nov 2010
  • None

#2

Posted A week ago

How and where in my code would I add a sprite like xenmenu?

REQUEST_STREAMED_TEXTURE_DICT(Streamedtexture, false);
		if (HAS_STREAMED_TEXTURE_DICT_LOADED(Streamedtexture)){
		DRAW_SPRITE(Streamedtexture, textureName, x, y, width, height, rotation, r, g, b, a);
                }

You mean like this?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users