Jump to content

if you can help me


MSHOOSH

Recommended Posts

Hello my friends

I have a problem, I have a picture and put it in txd and I want to replace the object

Image Information:

Width = 1024

Length = 512

Png picture

my code

  
addEventHandler ( "onClientResourceStart", resourceRoot, 
    function() 
        txd = engineLoadTXD ( "mshoosh.txd" ) 
        engineImportTXD ( txd, 7910 ) 
    end 
) 

my meta

  
<meta> 
    <info author="MSHOOSH" version="1.0.0" type="script" name="SKIN" description="ENJOY" showInResourceBrowser="true" /> 
    <script src="S.lua" type="client" /> 
    <file src="mshoosh.txd" /> 
</ meta> 

the object is not change :cry:

So where's the problem? :shock:

Sorry for English :lol:

I am an Arab 8)

Objective raised in the Arab Forum but I can not find an answer :|

Link to comment

Meta:

    "MSHOOSH" version="1.0.0" type="script" name="SKIN" description="ENJOY" showInResourceBrowser="true" /> 
    

LUA:

addEventHandler ( "onClientResourceStart", root, 
    function() 
        txd = engineLoadTXD ( "mshoosh.txd" ) 
        engineImportTXD ( txd, 7910 ) 
    end 
) 

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...