Gta King Posted June 17, 2015 Posted June 17, 2015 i have tryed to change a weapon model with that code addEventHandler("onClientResourceStart",root, function () weapontxd = engineLoadTXD ( "cuntgun.txd" ) engineImportTXD (weapontxd,357) weapondff = engineLoadDFF ( "cuntgun.dff",357) engineReplaceModel (weapondff,357) end) i putted this in server side any help ? Progress In Devloping Games = 95 Progress In Mta Scripting = 40 Progress In Mta Bug Fixing = 96 Progress In Mta Texture Editing = 96 Progress In Editing Script In Mta = 97 Progress In English Language = 100 Progress In Making "The Zombies Destination" Game 85% |||||||||||||||||||||||||||||||||||||
Walid Posted June 17, 2015 Posted June 17, 2015 Try this addEventHandler("onClientResourceStart",resourceRoot, function () weapondff = engineLoadDFF ( ":O.dff",357) engineReplaceModel (weapondff,357) weapontxd = engineLoadTXD ( ":O.txd" ) engineImportTXD (weapontxd,357) end) Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Gta King Posted June 17, 2015 Author Posted June 17, 2015 tnx i will try it edit: not working Progress In Devloping Games = 95 Progress In Mta Scripting = 40 Progress In Mta Bug Fixing = 96 Progress In Mta Texture Editing = 96 Progress In Editing Script In Mta = 97 Progress In English Language = 100 Progress In Making "The Zombies Destination" Game 85% |||||||||||||||||||||||||||||||||||||
Walid Posted June 17, 2015 Posted June 17, 2015 try to replace the file names and make sure to edit your meta.xml file. Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Gta King Posted June 17, 2015 Author Posted June 17, 2015 i already replaced it and edited my mta not working Progress In Devloping Games = 95 Progress In Mta Scripting = 40 Progress In Mta Bug Fixing = 96 Progress In Mta Texture Editing = 96 Progress In Editing Script In Mta = 97 Progress In English Language = 100 Progress In Making "The Zombies Destination" Game 85% |||||||||||||||||||||||||||||||||||||
Mr.unpredictable. Posted June 17, 2015 Posted June 17, 2015 i putted this in server side any help ? Engine functions are client side
ALw7sH Posted June 17, 2015 Posted June 17, 2015 if the dff file is in the same script folder you don't have to write ":" addEventHandler("onClientResourceStart",root, function () weapontxd = engineLoadTXD ( "O.txd" ) engineImportTXD (weapontxd,357) weapondff = engineLoadDFF ( "O.dff",357) engineReplaceModel (weapondff,357) end) also make sure it's client side
Gta King Posted June 17, 2015 Author Posted June 17, 2015 1- you fixed my problem 2-its not the same name 3-i putted it in a sever side 4- you fixed my problem man tnx Progress In Devloping Games = 95 Progress In Mta Scripting = 40 Progress In Mta Bug Fixing = 96 Progress In Mta Texture Editing = 96 Progress In Editing Script In Mta = 97 Progress In English Language = 100 Progress In Making "The Zombies Destination" Game 85% |||||||||||||||||||||||||||||||||||||
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