Jump to content
  • 0

How to set modified files to load into server?


proracer

Question

Hi guys.I wanted to make new Infernus skin for my clan.But first i wanted to ask what script i must make to load modified files into the server so anyone can see.Example i found on internet Red nitro injection.How to make a script who can load the modified file(in this case effects.fxp) so everyone who is playing can use (see) the red nitro of their car and everyone else who is driving.My friend from other clan helped me with how to load modified infernus.dff and .txd.This is what he put that everyone can see the modified Infernus as a resource.

addEventHandler("onClientResourceStart", getResourceRootElement(),
function()
 txd = engineLoadTXD ( "infernus.txd" )
 engineImportTXD ( txd, 411 )
 dff = engineLoadDFF ( "infernus.dff", 411 )
 engineReplaceModel ( dff, 411 )
end
)

So from this example can i load the modified .fxp file too..? And how?

Link to comment

2 answers to this question

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 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...