FlyingSpoon Posted March 13, 2015 Posted March 13, 2015 function skins () skinsz = engineLoadTXD("goku.txd") engineReplaceModel(skinsz, 189 ) skinsz2 = engineLoadDFF("goku.dff") engineReplaceModel(skinsz2, 189 ) end addEventHandler( "onClientResourceStart", resourceRoot, skins ) But the skins come out white instead of the actual skin, whole skin is white, I tried on all skin mods. GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
darhal Posted March 13, 2015 Posted March 13, 2015 Txd is invalid you should fix it #include <iostream> int main() { std::cout << "C++ is amazing <3" << std::endl; return 0; } I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please
FlyingSpoon Posted March 13, 2015 Author Posted March 13, 2015 but I tried all txd's why all come out same.. When I try with modloader it works? Can someone help. GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
Enargy, Posted March 14, 2015 Posted March 14, 2015 skinsz = engineLoadTXD("goku.txd") engineImportTXD(skinsz, 189 ) skinsz2 = engineLoadDFF("goku.dff") engineReplaceModel(skinsz2, 189 ) - Inactivo.
xXMADEXx Posted March 14, 2015 Posted March 14, 2015 skinsz = engineLoadTXD("goku.txd") engineImportTXD(skinsz, 189 ) skinsz2 = engineLoadDFF("goku.dff") engineReplaceModel(skinsz2, 189 ) That would have no effect. If I remember correctly, it has something to do with the order in which you replace the files. Not sure if it'll work, but try loading the dff file first, if that doesn't work then it would probably be a corrupted file. The Ultimate Lua Tutorial! | MTA PHP SDK
Dimmitry007 Posted March 14, 2015 Posted March 14, 2015 txd = engineLoadTXD ( "goku.txd" ) engineImportTXD ( txd, 189 ) dff = engineLoadDFF ( "goku.dff", 0 ) engineReplaceModel ( dff, 189 ) ^^ sup?
darhal Posted March 14, 2015 Posted March 14, 2015 Omif that dont work then the problem should be because of the dff #include <iostream> int main() { std::cout << "C++ is amazing <3" << std::endl; return 0; } I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please
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