Anubhav Posted October 21, 2014 Posted October 21, 2014 elseif file == "maccer.dff" then dff = engineLoadDFF ( "maccer.dff", 0 ) engineReplaceModel ( dff, 2 ) elseif file == "leonre64.dff" then dff = engineLoadDFF ( "leonre64.dff", 0 ) engineReplaceModel( dff , 1 ) Bad usage @ 'engineReplaceModel' [Model ID 1 replace failed ] line: 6 Bad usage @ 'engineReplaceModel' [Model ID 2 replace failed ] line: 3 See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 Model 2 is something? Model 1 is something? Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Anubhav Posted October 21, 2014 Author Posted October 21, 2014 Skin model See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 and what about txd Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Anubhav Posted October 21, 2014 Author Posted October 21, 2014 Same models See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 then you need same txd's or remove the last overwrite. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Anubhav Posted October 21, 2014 Author Posted October 21, 2014 I don't get what you mean. Please explain! See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 Most of the dff require a txd to work. DFF = the collision TXD = the paint. (not effects, since they use image data from the "effect" itself) You can replace the txd(correct txd for this model) of an element without dff. But you can't replace dff without txd, because he doesn't know what color the element parts will be. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Anubhav Posted October 21, 2014 Author Posted October 21, 2014 TXD is replaced first. I made the mod downloader but this only the problem. See the table how it downloads files = { { "bus.txd" }, { "bus.dff" }, { 'maccer.txd' }, { 'maccer.dff' }, { "leonre64.txd" }, { "leonre64.dff" } } See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 well then you don't need to apply the dff if it is the same model. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Anubhav Posted October 21, 2014 Author Posted October 21, 2014 Its not the same. Its totally different model! See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 Same models Its not the same. Its totally different model! Apply the txd and the dff directly after each other. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Anubhav Posted October 21, 2014 Author Posted October 21, 2014 I'm not sure how you are telling, but please contact me on skype. If the file is not downloaded then what? See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 Then you check if the file does exist: https://wiki.multitheftauto.com/wiki/FileExists Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
$@!m HeRO Posted October 21, 2014 Posted October 21, 2014 wait...tell me only that : you want a resource containing meta file with script and txd and dff files to work on ? i mean you want example.txd and example.dff to replace the skin (example) SKIN ID : 277 , whenever you start the resource ? or what ? it'S Go0D To Be BaD ! ! ! [Owner of [EgO] Gang : www.egoteam.site.bz] [Old Online Gamer , Scripter and programmer] [Contacts : [skype]saim.zia26 - [xfire]saimrock26]
Moderators IIYAMA Posted October 21, 2014 Moderators Posted October 21, 2014 He is using his own file share system, to share the txd/dff. Some of his txd/dff files are corrupted, that is the problem. (skype info) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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