Reflex# Posted March 15, 2012 Posted March 15, 2012 ---> 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
Castillo Posted March 15, 2012 Posted March 15, 2012 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.
Kenix Posted March 15, 2012 Posted March 15, 2012 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.
Reflex# Posted March 15, 2012 Author Posted March 15, 2012 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.
BorderLine Posted March 15, 2012 Posted March 15, 2012 you need a shader. I mean he want replace vehicle.txd from models/generic/vehicle.txd check here https://wiki.multitheftauto.com/wiki/Eng ... rldTexture
JamalKrumme Posted May 5, 2012 Posted May 5, 2012 where did you get led 12v led light bars lights? -------------------------- led strip lighting led strip lighting outdoor
denny199 Posted May 5, 2012 Posted May 5, 2012 you should read the wiki better and look right abover: Client-only function what u sayd: What wrong? Script is on on server,but dont working
arezu Posted May 6, 2012 Posted May 6, 2012 "ReFleX" version="1.0.3" type="script" /> "vehicle.txd" /> "vehiclelightson128.png" />
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