I replaced car models but they are not exactly like I want. They are appearing kinda white. TXD and DFF, both are loaded and working, no problems with the script but the skin is coming a bit white.
function replaceModel()
txd = engineLoadTXD("feltzer.txd", 415 )
engineImportTXD(dff, 415)
dff = engineLoadDFF("feltzer.dff", 415 )
engineReplaceModel(dff, 415)
end
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel)
addCommandHandler ( "refreshmodels", replaceModel )