001 Posted June 9, 2017 Share Posted June 9, 2017 how to convert vehicle or skin mods to resource and use it in my MTA server ? anyone tell me please Link to comment
0 Yelrix Posted June 10, 2017 Share Posted June 10, 2017 That's what I am trying to figure out as well.... Link to comment
0 Yelrix Posted June 10, 2017 Share Posted June 10, 2017 I guess no one is gonna help us Link to comment
0 MTA Anti-Cheat Team Dutchman101 Posted June 14, 2017 MTA Anti-Cheat Team Share Posted June 14, 2017 (edited) Use these functions: https://wiki.multitheftauto.com/wiki/EngineLoadTXD https://wiki.multitheftauto.com/wiki/EngineImportTXD https://wiki.multitheftauto.com/wiki/EngineLoadDFF https://wiki.multitheftauto.com/wiki/EngineReplaceModel They already contain plenty of code examples, some of which provide complete, instantly working code to do what you want: replace vehicle/skins/weapons with mods. how to convert vehicle or skin mods to resource and use it in my MTA server ? anyone tell me please I honestly didn't expect you aren't known with something basic as how to create a valid resource @Sia, but alright here we go; 1) create a directory, name it for the resource, like: ''modelmod'' and move the GTA SA mod files in there (dff, txd) 2) create a .lua file called ''applymod.lua'' 3) paste the code f.e from the code examples (specific to skin/weapon/vehicle-mod, from wiki link(s) into the ''applymod.lua'' file, edit the (model or GTA) ID's to replace and the mod filenames to match the .txd / .dff files. 4) create a file called ''meta.xml'' and paste this in it: <meta> <script src="applymod.lua" type="client"/> </meta> Now move the whole directory into server > deathmatch > resources and start the resource. If you're doing it correctly, this resource contains now the following: modfile.txd modfile.dff applymod.lua meta.xml That's the essentials for it to be a valid resource, following all steps as I listed them up above. Clearly you never did this before @Sia, but hope I helped you. Edited June 14, 2017 by Dutchman101 1 Link to comment
Question
001
how to convert vehicle or skin mods to resource and use it in my MTA server ? anyone tell me please
Link to comment
3 answers to this question
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