GerardWay Posted May 28, 2011 Share Posted May 28, 2011 i want to install gta sa car mods onto my mtasa server so everyone can see them but i dunno how to! plzzz heeellllppp ps. i do not have a vehicles-mods-system folder. Link to comment
0 Deagle Posted May 28, 2011 Share Posted May 28, 2011 Make a new .zip or folder which must contain this : ● script.lua ● infernus.dff ● infernus.txd ● meta.xml script.lua : function replaceModel() txd = engineLoadTXD("infernus.txd", 411 ) engineImportTXD(txd, 411) dff = engineLoadDFF("infernus.dff", 411 ) engineReplaceModel(dff, 411) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel ) meta.xml : <meta> <info author="TechG9" name="Infernus" version="1.0.5" type="script"/> <script src="script.lua" type="client"/> <file src="infernus.txd" type="client"/> <file src="infernus.dff" type="client"/> </meta> If you want to replace another car, you must change the name (infernus) and to replace the ID with the one of the another car. Link to comment
0 GerardWay Posted May 28, 2011 Author Share Posted May 28, 2011 Make a new .zip or folder which must contain this :● script.lua ● infernus.dff ● infernus.txd ● meta.xml script.lua : function replaceModel() txd = engineLoadTXD("infernus.txd", 411 ) engineImportTXD(txd, 411) dff = engineLoadDFF("infernus.dff", 411 ) engineReplaceModel(dff, 411) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel ) meta.xml : <meta> <info author="TechG9" name="Infernus" version="1.0.5" type="script"/> <script src="script.lua" type="client"/> <file src="infernus.txd" type="client"/> <file src="infernus.dff" type="client"/> </meta> If you want to replace another car, you must change the name (infernus) and to replace the ID with the one of the another car. i made a folder named vehicles-mods-system in mtasanandreas/server/mods/deathmatch/resources with barracks mod in dff and txd right files and they do not appear in game! i have edited the script.lua so the vehicle and its id are their what have i done wrong? and i also keep getting unexpected character near char16 and char22 what should i do? Link to comment
Question
GerardWay
i want to install gta sa car mods onto my mtasa server so everyone can see them but i dunno how to! plzzz heeellllppp
ps. i do not have a vehicles-mods-system folder.
Link to comment
2 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