MetaGamer Posted October 28, 2011 Posted October 28, 2011 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?
tim260 Posted October 28, 2011 Posted October 28, 2011 engineImportTXD ( skin, 22 ) you didnt define the file in that line it has to be : engineImportTXD ( skins/22.txd, 22 )
MetaGamer Posted October 28, 2011 Author Posted October 28, 2011 I have already defined it See this line skin = engineLoadTXD ( "skins/22.txd" )
bandi94 Posted October 28, 2011 Posted October 28, 2011 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 :
JR10 Posted October 28, 2011 Posted October 28, 2011 Use /debugscript 3 Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
MetaGamer Posted October 28, 2011 Author Posted October 28, 2011 I have done that already. No error shown. I think this is a mta issue.
MetaGamer Posted October 28, 2011 Author Posted October 28, 2011 Update: I tried changing the txd as-well. But still same problem! It didn't happened on the earlier version.
bandi94 Posted October 28, 2011 Posted October 28, 2011 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 :
MetaGamer Posted October 28, 2011 Author Posted October 28, 2011 BTW another question. Should I put the bot in gamemodes or gameplay?
Castillo Posted October 28, 2011 Posted October 28, 2011 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. Education is the most powerful weapon which you can use to change the world.
MetaGamer Posted October 28, 2011 Author Posted October 28, 2011 still didn't work. It is the old gta sa skin not the one from .txd. BTW here is the file http://solidfiles.com/d/209f/ Please help me. I am figuring out this problem since a week. But has no clue of how to fix it.
bandi94 Posted October 29, 2011 Posted October 29, 2011 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 :
MetaGamer Posted October 29, 2011 Author Posted October 29, 2011 I am trying and trying over and over again but still not working. I have changed the skin many times. Here is my file http://solidfiles.com/d/af0fc/ I think it's MTA issue.
Castillo Posted October 29, 2011 Posted October 29, 2011 http://www.mediafire.com/?pc44hibio13np5j You had forgot to replace the DFF file too. But, the skin 286 show's as white, 287 works fine though. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MetaGamer Posted October 29, 2011 Author Posted October 29, 2011 thanks dude as always. You have solved 5 issue's of me.
Castillo Posted October 29, 2011 Posted October 29, 2011 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now