Pinda Posted April 14, 2010 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
karlis Posted April 14, 2010 Posted April 14, 2010 so?why are you posting it?problems?then tell them!
Pinda Posted April 14, 2010 Author Posted April 14, 2010 yes it dont work, is it the edited bullet.txd ?
lukkie[BE] Posted April 17, 2010 Posted April 17, 2010 Im not good at scripting, but is the filepath mentioned correctly?
kevin11 Posted April 29, 2010 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)
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