Pinda Posted April 14, 2010 Share Posted April 14, 2010 ok, this is what i got client.lua function replaceTXD() txd = engineLoadTXD ( "bullet.txd" ) engineImportTXD ( txd, 541 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) meta.xml <?xml version="1.0" encoding="utf-16"?> <meta> <info type="map" gamemodes="race" name="Assassin Promo" author="Assassin" description="ja de pinda is okée" /> <script src="client.lua" type="client" /> <map src="Assassin Promo.map" /> <file src="bullet.txd" /> <settings> <setting name="#time" value="0:0" /> <setting name="#respawn" value="timelimit" /> settings> meta> bullet.txd and the .map file with bullet spawnpoints Link to comment
karlis Posted April 14, 2010 Share Posted April 14, 2010 so?why are you posting it?problems?then tell them! Link to comment
Pinda Posted April 14, 2010 Author Share Posted April 14, 2010 yes it dont work, is it the edited bullet.txd ? Link to comment
lukkie[BE] Posted April 17, 2010 Share Posted April 17, 2010 Im not good at scripting, but is the filepath mentioned correctly? Link to comment
karlis Posted April 17, 2010 Share Posted April 17, 2010 if its not in subfolder, then yes it is Link to comment
kevin11 Posted April 29, 2010 Share Posted April 29, 2010 sorry for late reaction META client function cars () dff= engineLoadDFF ( "bullet.dff",541 ) engineReplaceModel ( dff ,541 ) txd = engineLoadTXD ( "bullet.txd" ) engineImportTXD ( txd, 541 ) end addEventHandler ("onClientResourceStart", getRootElement(), cars) 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