hipolitalakaj Posted January 12, 2019 Share Posted January 12, 2019 Hey guys! I want to add some skin to AK-47 (Gold,Case Hardened,etc...) it is possible to clone the original ak-47 item to an another item id? (original id is 30 for sure https://wiki.multitheftauto.com/wiki/Weapons) But I want to add another ak47 model for example: item id 90 and if I give item id 90 to myself then load the ak with the gold dff and txd model. Or is there another way to do this? Thanks for help. (and sorry for my bad eng) Link to comment
JustinMTA Posted January 13, 2019 Share Posted January 13, 2019 I'm not entirely sure what you're asking for, but if I'm not wrong you're asking for multiple players to be able to use different AK47 skins at the same time. If that's what you want, shaders is what you wanna use. I'm quite experienced with DFF and TXD files if you need help you can add me on Skype I can help broski. Link to comment
hipolitalakaj Posted January 13, 2019 Author Share Posted January 13, 2019 How can I do it if I want to replace the model only the localplayer who using the item? -- Client -- function GoldAK () txd = engineLoadTXD ( "ak47.txd" ) engineImportTXD ( txd, 355 ) dff = engineLoadDFF ( "ak47.dff" ) engineReplaceModel ( dff, 355 ) end addEvent( "goldAK", true ) addEventHandler( "goldAK", localPlayer, GoldAK ) -- Server -- if weap == 30 and item == 166 then triggerClientEvent( "goldAK", root, goldAK ) Link to comment
Overkillz Posted January 13, 2019 Share Posted January 13, 2019 You have to use shaders. 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