Jump to content

replacing bullet


Pinda

Recommended Posts

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
  • 2 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...