Reflex# Posted March 15, 2012 Share 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 Link to comment
Castillo Posted March 15, 2012 Share 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. Link to comment
Kenix Posted March 15, 2012 Share 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. Link to comment
Reflex# Posted March 15, 2012 Author Share 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. Link to comment
Kenix Posted March 15, 2012 Share Posted March 15, 2012 You need indicate model id for replace. Link to comment
BorderLine Posted March 15, 2012 Share 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 Link to comment
JamalKrumme Posted May 5, 2012 Share Posted May 5, 2012 where did you get led 12v led light bars lights? -------------------------- led strip lighting led strip lighting outdoor Link to comment
denny199 Posted May 5, 2012 Share 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 Link to comment
arezu Posted May 6, 2012 Share Posted May 6, 2012 "ReFleX" version="1.0.3" type="script" /> "vehicle.txd" /> "vehiclelightson128.png" /> Link to comment
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