Post: Help Drawing screen
05-06-2015, 08:26 AM #1
like boss26
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Good at all.
I'm trying to put an image on the screen in gta v is several days I have sought and tendado unsuccessful.
The one who works and this code and and for gta 4 ...
Can someone give me a hint with this please?
I want to apply it in the Script Hook V .NET or Script Hook ..


    Imports System
Imports System.Drawing
Imports System.Windows.Forms
Imports GTA
Imports System.IO

Public Class BaseScriptProject
Inherits Script

Private txd2 As Int32 = Native.Function.Call(Of Int32)("LOAD_TXD", "Qub3d")
Private tTexture2 As Int32 = Native.Function.Call(Of Int32)("GET_TEXTURE", txd2, "QUB3D_LOGO_150906")


Private myImage As Texture

Private bDrawImage As Boolean = False


Private Sub general_tick(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Tick

Native.Function.Call("DRAW_SPRITE", tTexture2, 0.2, 0.2, 0.1, 0.08, 0.0, 255, 255, 255, 100)

End Sub


End Class



thank you in advance.
(adsbygoogle = window.adsbygoogle || []).push({});
05-08-2015, 06:57 AM #2
Default Avatar
Bch
Guest
Originally posted by like
Good at all.
I'm trying to put an image on the screen in gta v is several days I have sought and tendado unsuccessful.
The one who works and this code and and for gta 4 ...
Can someone give me a hint with this please?
I want to apply it in the Script Hook V .NET or Script Hook ..


    Imports System
Imports System.Drawing
Imports System.Windows.Forms
Imports GTA
Imports System.IO

Public Class BaseScriptProject
Inherits Script

Private txd2 As Int32 = Native.Function.Call(Of Int32)("LOAD_TXD", "Qub3d")
Private tTexture2 As Int32 = Native.Function.Call(Of Int32)("GET_TEXTURE", txd2, "QUB3D_LOGO_150906")


Private myImage As Texture

Private bDrawImage As Boolean = False


Private Sub general_tick(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Tick

Native.Function.Call("DRAW_SPRITE", tTexture2, 0.2, 0.2, 0.1, 0.08, 0.0, 255, 255, 255, 100)

End Sub


End Class



thank you in advance.


Not sure about custom images, but to draw in game images I would do
GRAPHICS:HappyRAW_SPRITE("File name", "Image name", X, Y, Width, Height, Rotation, R, G, B, A);
File name and image name being one from inside the game files

The following user thanked Bch for this useful post:

like boss26
05-08-2015, 09:05 AM #3
like boss26
Save Point
thax for help
You must login or register to view this content.

You must login or register to view this content.
Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo