boro Posted January 5, 2013 Share Posted January 5, 2013 HI all i have map model but this model is TXD file how to use it Link to comment
sckatchof Posted January 5, 2013 Share Posted January 5, 2013 use this functions : engineImportTXD engineLoadTXD Link to comment
boro Posted January 5, 2013 Author Share Posted January 5, 2013 IS it good type="script" version="1.0" name="Police Station" author="boro"/> laddEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), function() txd = engineLoadTXD("policeST.txd", 1456 ) engineImportTXD(txd, 1456) end ) Link to comment
sckatchof Posted January 5, 2013 Share Posted January 5, 2013 No not good. try this XML file : type="script" version="1.0" name="Police Station" author="boro"/> Client side : addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), function() engineImportTXD ( engineLoadTXD ( "policeST.txd", 1456 ), 1456 ) end ) 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