Sign in to follow this  
yoya99

replacing textures?.

Recommended Posts

Hello today i tried to replace somepalm textures but i am not sure i did it right :/ I tried that here:

addEventHandler('onClientResourceStart', resourceRoot,  
function()  
  
palmtxd = engineLoadTXD("textures/gta_tree_palm.txd") 
engineImportTXD(palmtxd, 622) 
  
palm03 = engineLoadDFF('textures/veg_palm03.dff', 622)  
engineReplaceModel(palm03, 622) 
  
palm02 = engineLoadDFF('textures/veg_palm02.dff', 621)  
engineReplaceModel(palm02, 621)   
end  
) 
  
  
  
  

thxfor your help

Share this post


Link to post
txd = engineLoadTXD("textures/gta_tree_palm.txd") 
engineImportTXD(txd, 622) 
dff = engineLoadDFF("textures/veg_palm03.dff", 622) 
engineReplaceModel(dff, 622) 

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.