Hello guys! Today, i tried to replace a default San Andreas model with an exported VC model. We know, that both versions uses dff and txd for their models, and their textures. But when i put the model in to my server, it outputted in my debug script, that it could not replace the model. What the problem could be?
ID = 2
function TXDFile()
TXD = engineLoadTXD("name.txd")
engineImportTXD(TXD, 2)
end
addEventHandler("onClientResourceStart",resourceRoot,TXDFile)
function DFFFile()
DFF=engineLoadDFF("name.dff")
engineReplaceModel(DFF, 2)
end
addEventHandler("onClientResourceStart",resourceRoot,DFFFile)
name.txd and name.dff is excisting in the main directory of the script. The original name of the model and the texture is play10.txd and play10.dff, exported from Grand Theft Auto Vice City's gta3.img.
Question
rusztamas
Hello guys! Today, i tried to replace a default San Andreas model with an exported VC model. We know, that both versions uses dff and txd for their models, and their textures. But when i put the model in to my server, it outputted in my debug script, that it could not replace the model. What the problem could be?
name.txd and name.dff is excisting in the main directory of the script. The original name of the model and the texture is play10.txd and play10.dff, exported from Grand Theft Auto Vice City's gta3.img.
Complete script, for staff:
http://upload.mtasa.com/u/188073455/vicestuff.rar_
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