pocko Posted February 5, 2012 Share Posted February 5, 2012 guys i have problem with one script! i don t know its worked before but i tryed to edit her so see what is writing! Error File carpack.lua in resource models-CRC mismatch! what i do here the script i tryed to put Sand king! function replaceModel() txd = engineLoadTXD("car/sandking.txd", 495 ) engineImportTXD(txd, 495) dff = engineLoadDFF("car/sandking.dff", 495 ) engineReplaceModel(dff, 495) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel ) and Meta <file src="car/sandking.txd" type="client"/> <file src="car/sandking.dff" type="client"/> Link to comment
TAPL Posted February 5, 2012 Share Posted February 5, 2012 <script src="carpack.lua" type="client" /> <file src="car/sandking.txd" type="client"/> <file src="car/sandking.dff" type="client"/> Link to comment
Orange Posted February 6, 2012 Share Posted February 6, 2012 <script src="carpack.lua" type="client" /> <file src="car/sandking.txd" type="client"/> <file src="car/sandking.dff" type="client"/> My master, you're wrong. Delete http-client-files and restart server. Link to comment
arezu Posted February 7, 2012 Share Posted February 7, 2012 Delete http-client-files and restart server. You dont need to restart server. Just stop the resource then delete from http-client-files and then /refresh and start the resource again. Link to comment
Orange Posted February 7, 2012 Share Posted February 7, 2012 try this (meta.xml) obvious troll is obvious, TAPL's code copied. Link to comment
arezu Posted February 8, 2012 Share Posted February 8, 2012 try this (meta.xml) obvious troll is obvious, TAPL's code copied. no, he removed the "type" from file node 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