Luk-ry Posted June 28, 2010 Posted June 28, 2010 I have a problem with my script. When i run it the model is changed but it doesn't load the colision file. Here is the script: function replaceModel() txd = engineLoadTXD ( "data/tropic.txd" ) engineImportTXD ( txd, 454 ) dff = engineLoadDFF ( "data/tropic.dff", 454 ) engineReplaceModel ( dff, 454 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) PS:Sorry for my bad english
50p Posted June 28, 2010 Posted June 28, 2010 How do you expect the script to load collision file if the script doesn't use function to load collision? https://wiki.multitheftauto.com/wiki/EngineReplaceCOL
dzek (varez) Posted June 28, 2010 Posted June 28, 2010 you cant replace collision of vehicles.. read wiki.
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