spoty Posted August 10, 2014 Posted August 10, 2014 hello so i was putting in a costum drift map ingame and i maded a replace script and its working fine but it cant load the txd for some reason function map() txd = engineLoadTXD ( "rosklide.txd" ) engineImportTXD ( txd, 14808 ) engineImportTXD ( txd, 14809 ) col = engineLoadCOL ( "roskilde1.col" ) col1 = engineLoadCOL ( "roskilde2.col" ) dff = engineLoadDFF ( "roskilde1.dff", 0 ) dff1 = engineLoadDFF ( "roskilde2.dff", 0 ) engineReplaceCOL ( col, 14808 ) engineReplaceCOL ( col1, 14809 ) engineReplaceModel ( dff, 14808 ) engineReplaceModel ( dff1, 14809 ) engineSetModelLODDistance(14808, 2000) engineSetModelLODDistance(14809, 2000) end setTimer ( map, 1000, 1) addCommandHandler("reloadmap",map) addEventHandler("onClientResourceStop", getResourceRootElement(getThisResource()), function() engineRestoreCOL(14808) engineRestoreCOL(14809) engineRestoreModel(14808) engineRestoreModel(14809) destroyElement(dff) destroyElement(dff1) destroyElement(col) destroyElement(col1) destroyElement(txd) end ) the error is unable to load roskilde.txd
spoty Posted August 10, 2014 Author Posted August 10, 2014 Does the "rosklide.txd" file exist? pff damm i dind see that att all "roskilde.txd"
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