rusztamas Posted March 13, 2016 Share Posted March 13, 2016 Hello guys! We found a map, with a dff, col, and txd file. We wrote a script to it, and it was appearing in the game. But when we tried to stand on it, it just simply did not let us on it. What the problem could be? The script: addEventHandler('onClientResourceStart', resourceRoot, function() outputChatBox ( "Ez a resource válaszol.") local txd = engineLoadTXD('files/name.txd',true) engineImportTXD(txd, 4002) local dff = engineLoadDFF('files/name.dff', 0) engineReplaceModel(dff, 4002) local col = engineLoadCOL('files/name.col') engineReplaceCOL(col, 4002) engineSetModelLODDistance(4002, 500) end ) Meta: <meta> <script src="script.lua" type="client" /> <file src="files/name.txd" /> <file src="files/name.dff" />> </meta> Debugscript: Link to comment
MTA Team ccw Posted March 13, 2016 MTA Team Share Posted March 13, 2016 'files/name.col' is not in meta.xml Link to comment
rusztamas Posted March 13, 2016 Author Share Posted March 13, 2016 It worked! Thank you ccw, for me it is night, and i haven't sleep a even a sec since yesterday... 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