ikiller Posted March 19, 2012 Posted March 19, 2012 Can anyone help me,and tell me how to replace skins into my server.like download skins from gtagarage,gtainside and replace them with the skins inside server? please help!
Moderators IIYAMA Posted March 19, 2012 Moderators Posted March 19, 2012 Hi Ikiller <meta> <info author="Converter: Ikiller" name="skin" type="script" description="Skin" /> <script src="skin.lua" type="client" /> <file src=" [color=#0000FF] X [/color] .txd" /> <file src=" [color=#0000FF]Y[/color] .dff" /> </meta> -- client script> skin.lua function replaceskin() txd = engineLoadTXD("[color=#0000FF]X[/color].txd", SKINNUMBER) engineImportTXD(txd, SKINNUMBER) dff = engineLoadDFF(" [color=#0000FF]Y[/color].dff", SKINNUMBER) engineReplaceModel(dff,SKINNUMBER) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceskin) addCommandHandler ( "reloadskin", replaceskin ) X = name of the .txd file. Y = name of the .dff file. SKINNUMBER = skin you want to replace. Create folder > create two text files and give them the name "meta.xml" and "skin.lua" > put the script in it and replace the "Y", "X" and "SKINNUMBER" > have fun! Greetings Sky
ikiller Posted March 19, 2012 Author Posted March 19, 2012 thank you sky.are u the sky that play Call of duty 2 mod? btw should the dff and txd files from the mod be placed in that folder?
Moderators IIYAMA Posted March 19, 2012 Moderators Posted March 19, 2012 yes I am sky from cod2mod Folder > meta.xml and skin.lua
Moderators IIYAMA Posted March 19, 2012 Moderators Posted March 19, 2012 If something is wrong etc. You can tell me the names of the mods and I can create the script for you and put it in a zip file. Name: .txd/.dff/skin
ikiller Posted March 19, 2012 Author Posted March 19, 2012 server is back.check it out. so now in that folder 4 files 1)meta.xml 2)skin.lua 3)mod.txd 4)mod.dff ???????????
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