pocko Posted April 24, 2011 Share Posted April 24, 2011 Hallo i have this problem i v made a map but i cant include the car.Here what I made.Script for car addEventHandler('onClientResourceStart', resourceRoot, function() txd = engineLoadTXD ( "data/1.txd" ) engineImportTXD ( txd, 451 ) dff = engineLoadDFF ( "data/1.dff", 451 ) engineReplaceModel ( dff, 451 ) end ) Then i write in meta.xml this <?xml version="1.0" encoding="utf-16"?> <file src="data/1.txd" type="client"/> <file src="data/1.dff" type="client"/> <script src="cars.lua" type="client"/> <meta> <info type="map" gamemodes="race" name="[RC]2 yalleV gninthgiL" /> <map src="[RC]2 yalleV gninthgiL.map" /> <settings> <setting name="#time" value="19:30" /> <setting name="#weather" value="1" /> <setting name="#respawn" value="timelimit" /> <setting name="#duration" value="240" /> </settings> </meta> and anythink is ok but i can t start the map Link to comment
GodFather Posted April 24, 2011 Share Posted April 24, 2011 <meta> <file src="data/1.txd"/> <file src="data/1.dff" /> <script src="cars.lua" type="client"/> <info type="map" gamemodes="race" name="[RC]2 yalleV gninthgiL" /> <map src="[RC]2 yalleV gninthgiL.map" /> <settings> <setting name="#time" value="19:30" /> <setting name="#weather" value="1" /> <setting name="#respawn" value="timelimit" /> <setting name="#duration" value="240" /> </settings> </meta> You don't need when including file "type" it is just 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