Quantcast

Jump to content

» «
Photo

[Q] ImageBox

No replies to this topic
JebediahKerman
  • JebediahKerman

    Player Hater

  • Members
  • Joined: 14 Jan 2014

#1

Posted 01 February 2014 - 03:35 PM

How do I display an ImageBox with Scripthook .Net?

 

I tried

GTA.Forms.Imagebox imgBox = new GTA.Forms.Imagebox();
imgBox.Location = new Point(0, 0);
imgBox.Size = Game.Resolution;
imgBox.Image = new Texture(imageToByteArray("testImage"));
imgBox.Visible = true;

even if I place the code into a perFrameDrawing Event nothing will happen. 

Any Ideas what I did wrong or what I have been missing?

 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users