Jump to content

Custom Skin is not working


MetaGamer

Recommended Posts

Posted

As the title says. This is my code

meta.xml

  
<meta> 
     <info author="Mehtab" type="misc" name="Stanopolo" description="Anything is possible" /> 
     <script src="main.lua" type="client" /> 
     <file src="skins/22.txd" /> 
</meta> 
  

main.lua

  
function onResourceStart() 
    skin = engineLoadTXD ( "skins/22.txd" )  
    engineImportTXD ( skin, 22 ) 
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) 
  

There is no error shown on the console but when I /setskin to 22 the skin is the old gta san andreas skin. Not the custom skin. What maybe the problem?

rszglobelinesspeedtest.png
Posted

try to change your skin and after back to skin 22 or use /debugsript3 and find the error

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted

try only whit this i think is your txd file wrong or the server have bug tudday i maked a custom ped not only TXD i maked a DFF to for a halloween pach and its working whitout problem's

 skin = engineLoadTXD ( "skins/22.txd" ) 
    engineImportTXD ( skin, 22 ) 

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted

If you are talking about the resource category, then doesn't matter where you put it, they're just Categories to make your life better.

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

your problem is the txd i don't know for what objects is that txd but i am 100% shure that is not a ped txd

how to find a ped txd :

go to your GTA:SA folder/data and there you search for peds.ide open whit notepad press ctrl+f (search) and you write your ped id in your case is 105 and you will se this line :

105, FAM1, FAM1, GANG2, STAT_GANG2, gang2, 110F,1, null,5,5,PED_TYPE_GANG,VOICE_GNG_FAM1 ,VOICE_GNG_FAM2

and the third is your ped txd name : "FAM1" now you open img tool in search write "FAM1" and you find your ped txd

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

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