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 - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
dzek (varez) Posted June 28, 2010 Posted June 28, 2010 you cant replace collision of vehicles.. read wiki. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
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