Jump to content

Help me to load Txd Dixtionary


Raku_Friendly

Recommended Posts

Raku_Friendly

Hello all

 

i am coding my mod cleo for gta sa android

 

I have a problem

How do I load the texture that I added in txd.txt to the screen using Cleo.

i use code

0390: load_txd_dictionary 'ON_ENGINE'
038F: load_texture 'ON_ENGINE' as 2 // Load dictionary with 0390 first
03F0: enable_text_draw 1
074B: draw_texture 2 position 320.0 410.0 scale 64.0 32.0 angle 0 color_RGBA 255 255 255 0
0391: release_textures


what should i write in code 0390 to be able to load the ON_ENGINE image texture

because I named the texture file on_engine

please those who understand please help me

 

Link to comment
Share on other sites

Use max. 7 charackter for the name 

Example:

OENGINE.txd

0390: load_txd_dictionary 'OENGINE'

Link to comment
Share on other sites

Raku_Friendly
On 26/5/2023 at 17.37, ZAZ said:

Gunakan maks. 7 karakter untuk nama 

Contoh:

OENGINE.txd

0390: load_txd_dictionary 'OENGINE'

Thanks brother 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.