rusztamas Posted March 13, 2016 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:
MTA Team ccw Posted March 13, 2016 MTA Team Posted March 13, 2016 'files/name.col' is not in meta.xml
rusztamas Posted March 13, 2016 Author 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...
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