Jump to content

Led Lights help


Reflex#

Recommended Posts

---> client.lua

function start () 
txd = engineLoadTXD("vehicle.txd") 
engineImportTXD(txd, vehicle) 

---> meta.xml

  
  
    "ReFleX" version="1.0.3" " type="script" /> 
    vehicle.txd" /> 
    " /> 
    .lua" type="client" /> 
 
  
 

What wrong?

Script is on on server,but dont working

Link to comment
function start ( ) 
    txd = engineLoadTXD ( "vehicle.txd" ) 
    engineImportTXD ( txd, 0 ) 
end-- you forgot to end the function. 
addEventHandler ( "onClientResourceStart", resourceRoot, start ) -- You forgot to attach a event handler to the function. 

Link to comment
function start ( ) 
    txd = engineLoadTXD ( "vehicle.txd" ) 
    engineImportTXD ( txd, txd ) -- Your variable name is 'txd' not 'vehicle'. 
end-- you forgot to end the function. 
addEventHandler ( "onClientResourceStart", resourceRoot, start ) -- You forgot to attach a event handler to the function. 

in function engineImportTXD 2 argument is model id, not TXD element.

Link to comment
function start ( ) 
    txd = engineLoadTXD ( "vehicle.txd" ) 
    engineImportTXD ( txd, txd ) -- Your variable name is 'txd' not 'vehicle'. 
end-- you forgot to end the function. 
addEventHandler ( "onClientResourceStart", resourceRoot, start ) -- You forgot to attach a event handler to the function. 

in function engineImportTXD 2 argument is model id, not TXD element.

resource dont work..i dont know why.

Link to comment
  • 1 month later...

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