Norbertoo Posted January 29, 2022 Share Posted January 29, 2022 i have a model with .txd .dff and .col files and i don't know how to replace an objects collision object id 17633 Link to comment
βurak Posted January 29, 2022 Share Posted January 29, 2022 (edited) you can do it like this addEventHandler("onClientResourceStart", resourceRoot, function() local txd = engineLoadTXD ("yourtxd.txd") engineImportTXD (txd, 17633) --The object id you want to change txd local dff = engineLoadDFF("yourdff.dff") engineReplaceModel(dff, 17633) --The object id you want to change dff local col = engineLoadCOL("yourcol.col") engineReplaceCOL(col, 17633) --The object id you want to change col end ) Edited January 29, 2022 by Burak5312 Link to comment
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