Jump to content

whats the error in this code?


Machine

Recommended Posts

so i have this code 


function replaceModel()  
  banner = engineLoadTXD("ce_payspray.txd", 12978) 
  engineImportTXD( banner, 12978 ) 
  dff = engineLoadDFF("sw_shed02.dff", 12978) 
  engineReplaceModel( dff, 12978 ) 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 

can someone tell me what am i doing wrong because it does start but the banner didnt change 

the object i am trying to replace is the 12978 sw_SHED02

Link to comment

What the hell are you talking about u didn't understand what I said ?

I already explained what's going on I am trying to change the little sign which is on the object 12978 so I can put my own logo . When I start the script it does start without errors but no change happen to the sign it stays the same 

 

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...