faisl2002 Posted March 23, 2012 Share Posted March 23, 2012 <meta> <info author="50p" version="0.1.0" type="misc" /> <script src="client1.lua" type="client"/> <script src="client2.lua" type="client"/> <script src="server.lua" type="server" /> <map src="mapp.map" dimension="0"></map> <file src="newstuff_sfntxd" /> <file src="vgwestabats.txd" /> </meta> client1.lua function replaceTXD() txd = engineLoadTXD ( "newstuff_sfn.txd" ) engineImportTXD(txd, 9314) engineImportTXD(txd, 9314) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) client2.lua function replaceTXD() txd = engineLoadTXD ( "vgwestabats.txd" ) engineImportTXD(txd, 7915) engineImportTXD(txd, 7915) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) Link to comment
Alpha Posted March 23, 2012 Share Posted March 23, 2012 <meta> <info author="50p" version="0.1.0" type="misc" /> <script src="client1.lua" type="client"/> <script src="client2.lua" type="client"/> <script src="server.lua" type="server" /> <map src="mapp.map" dimension="0"></map> <file src="newstuff_sfn.txd" /> <file src="vgwestabats.txd" /> </meta> Link to comment
faisl2002 Posted March 23, 2012 Author Share Posted March 23, 2012 ماجات العلامات الي بالموضوع حق الكود Link to comment
Alpha Posted March 23, 2012 Share Posted March 23, 2012 function replaceTXD() txd = engineLoadTXD ( "newstuff_sfn.txd" ) engineImportTXD(txd, 9314) engineImportTXD(txd, 9314) txd = engineLoadTXD ( "vgwestabats.txd" ) engineImportTXD(txd, 7915) engineImportTXD(txd, 7915) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) client2.lua و الغى Link to comment
TAPL Posted March 24, 2012 Share Posted March 24, 2012 function replaceTXD() txd = engineLoadTXD ( "newstuff_sfn.txd" ) engineImportTXD(txd, 9314) engineImportTXD(txd, 9314) txd = engineLoadTXD ( "vgwestabats.txd" ) engineImportTXD(txd, 7915) engineImportTXD(txd, 7915) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) client2.lua و الغى addEventHandler("onClientResourceStart",resourceRoot, function() engineImportTXD(engineLoadTXD("newstuff_sfn.txd"),9314) engineImportTXD(engineLoadTXD("vgwestabats.txd"),7915) 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