Jump to content

[HELP] Skin Replacement bug


FastDriver

Recommended Posts

Posted (edited)

Dear Community,

i got an big problem with the skin replacement i dont think its about the script or whatever but i think its my server as far as i know am hosting on an windows server 2008 vps but i still get the same error

This is the error:

2wpkppz.jpg

Here's the script that i use [ FORM CASTILLO]

function skins ( ) 
    local modelId = 230 
    local txd = engineLoadTXD ( "skin.txd" ) 
    engineImportTXD ( txd, modelId ) 
    local dff = engineLoadDFF ( "skin.dff", modelId ) 
    engineReplaceModel ( dff, modelId ) 
end 
addEventHandler ( "onClientResourceStart", resourceRoot, skins ) 

<meta> 
       <script src="skins\skinreplacer.lua" type="client" /> 
    <file src="skins\skin.txd" type="client"/> 
        <file src="skins\skin.dff" type="client"/> 
    <min_mta_version client="1.3.1-9.04939" server="1.3.1" /> 
</meta> 

And i dont know the problem could anyone help me please?

EDIT: POST EDITED

Greetz FastDriver

Edited by Guest
Posted

Post the meta.xml content.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
"skins\skin.txd" type="client"/> 
        "skins\skin.dff" type="client"/> 

As you can see, the path is different than the one you're using in the script.

Just make both paths the same.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You're welcome.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...