Jump to content

Changing textures


Pinda

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...