Pinda Posted May 20, 2010 Share Posted May 20, 2010 i try'd to change the textures from a MTA:Race map but it failed here is what i got Meta <?xml version="1.0" encoding="utf-16"?> <meta> <info type="map" gamemodes="race" name="Assassin door rije kut aap me hond is dood" /> <script src="kuthond.lua" type="client" /> <file src="billbrd01_lan2.txd" /> <map src="Assassin door rije kut aap me hond is dood.map" /> <settings> <setting name="#respawn" value="timelimit" /> settings> meta> .lua addEventHandler( 'onClientResourceStart', getRootElement(), function() objectSkin = engineLoadTXD( billbrd01_lan2.txd ); engineImportTXD( objectSkin, 4729 ); end ); and the billboard --> [attachment=0]billbrd01_lan2.rar[/attachment] <--- Link to comment
kevin11 Posted May 20, 2010 Share Posted May 20, 2010 kut aap mn hond is dood ahah goeie naam try this function replaceTXD() txd = engineLoadTXD ( "billbrd01_lan2.txd" ) engineImportTXD(txd, 4729) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) 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