Jump to content

How to create a Script with handling???


ginco

Recommended Posts

Posted

Hello Im [NFS]ProStreeT and i want to add a handling or vehicles.ide in my script so that we can have a drifting handling for a car.

Please anyone pls reply ASAP i really need it now for our server

any help is greatly appreciated.

Our Clan Site Need4Speedclan.tk

My Car script

function replaceModel() 
 txd = engineLoadTXD("car/textur.txd", 477 )
engineImportTXD(txd, 477)
 dff = engineLoadDFF("car/model.dff", 477 )
engineReplaceModel(dff, 477)
end
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel)
 
addCommandHandler ( "reloadcar", replaceModel )

Posted

Ok , you want to replace cars , right?

Try this:

function ReplaceVehicle ( )
outputChatBox ( "> replacing the euros vehicle" )
 
txd = engineLoadTXD ( "data/euros.txd" )
engineImportTXD ( txd, 587 )
dff = engineLoadDFF ( "data/euros.dff", 587 )
engineReplaceModel ( dff, 587 )
end
 
addEvent ( "replaceVeh", true )
addEventHandler ( "replaceVeh", getRootElement(), ReplaceVehicle )

type replace veh in F8

and do you read from wiki?

Forgot you need to make a folder in resource named "data" and there to put the .txd and .dff

:glasses2::bazooka::bazooka::onfire::onfire::onfire::onfire::onfire:

M T A

Note:SAMP SUCKS BADLY!!!

Note: People in fire are SAMP

Posted

loler, if you can't read, don't try to, because your results are bad..

ginco - there's no way to change handling yet, it will be available in MTA 1.1 version..

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted
loler, if you can't read, don't try to, because your results are bad..

ginco - there's no way to change handling yet, it will be available in MTA 1.1 version..

Men I cant wait for it!!!

Posted
Ok , you want to replace cars , right?

Try this:

function ReplaceVehicle ( )
outputChatBox ( "> replacing the euros vehicle" )
 
txd = engineLoadTXD ( "data/euros.txd" )
engineImportTXD ( txd, 587 )
dff = engineLoadDFF ( "data/euros.dff", 587 )
engineReplaceModel ( dff, 587 )
end
 
addEvent ( "replaceVeh", true )
addEventHandler ( "replaceVeh", getRootElement(), ReplaceVehicle )

type replace veh in F8

and do you read from wiki?

Forgot you need to make a folder in resource named "data" and there to put the .txd and .dff

yh i want, and i know it already so thanks anyway......

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