MetaGamer Posted October 28, 2011 Share 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? Link to comment
tim260 Posted October 28, 2011 Share Posted October 28, 2011 engineImportTXD ( skin, 22 ) you didnt define the file in that line it has to be : engineImportTXD ( skins/22.txd, 22 ) Link to comment
MetaGamer Posted October 28, 2011 Author Share Posted October 28, 2011 I have already defined it See this line skin = engineLoadTXD ( "skins/22.txd" ) Link to comment
bandi94 Posted October 28, 2011 Share Posted October 28, 2011 try to change your skin and after back to skin 22 or use /debugsript3 and find the error Link to comment
MetaGamer Posted October 28, 2011 Author Share Posted October 28, 2011 ok thanks. I will try! Link to comment
MetaGamer Posted October 28, 2011 Author Share Posted October 28, 2011 it didn't work! Link to comment
MetaGamer Posted October 28, 2011 Author Share Posted October 28, 2011 I have done that already. No error shown. I think this is a mta issue. Link to comment
MetaGamer Posted October 28, 2011 Author Share Posted October 28, 2011 Update: I tried changing the txd as-well. But still same problem! It didn't happened on the earlier version. Link to comment
bandi94 Posted October 28, 2011 Share 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 ) Link to comment
MetaGamer Posted October 28, 2011 Author Share Posted October 28, 2011 BTW another question. Should I put the bot in gamemodes or gameplay? Link to comment
Castillo Posted October 28, 2011 Share 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. Link to comment
MetaGamer Posted October 28, 2011 Author Share 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. Link to comment
bandi94 Posted October 29, 2011 Share 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 Link to comment
MetaGamer Posted October 29, 2011 Author Share Posted October 29, 2011 thank you very much! Link to comment
MetaGamer Posted October 29, 2011 Author Share 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. Link to comment
MetaGamer Posted October 29, 2011 Author Share Posted October 29, 2011 It happens on all version of mta Link to comment
MetaGamer Posted October 29, 2011 Author Share Posted October 29, 2011 Help me please! Link to comment
Castillo Posted October 29, 2011 Share 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. Link to comment
MetaGamer Posted October 29, 2011 Author Share Posted October 29, 2011 thanks dude as always. You have solved 5 issue's of me. Link to comment
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