DeletedAccount1111 Posted November 27, 2012 Share Posted November 27, 2012 Okay, so i got two questions -and i dont know how to script- How do you replace a car bodikit (downloaded an acura for my server which comes with nice bodikits) and how do you replace rims (the ones at transfender, for example) Thanks in advance EDIT: Just in case, the link of the car is this one: http://www.gtainside.com/en/download.ph ... rBy=voting Link to comment
Reezmi Posted November 27, 2012 Share Posted November 27, 2012 Try this: https://wiki.multitheftauto.com/wiki/EngineLoadDFF But before that. If you dont know how to script then you should look for some lua tutorials Link to comment
DeletedAccount1111 Posted November 27, 2012 Author Share Posted November 27, 2012 i think i could edit this: outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) what are the IDs for the bodikit parts? And how i start it as a resource for a server Link to comment
AhmadQTR Posted November 27, 2012 Share Posted November 27, 2012 i think i could edit this: outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) what are the IDs for the bodikit parts? And how i start it as a resource for a server I just know this ^ Since this is a client script so function replace () outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) addEventHandler ( "onClientResourceStart", replace ) Link to comment
TAPL Posted November 27, 2012 Share Posted November 27, 2012 Custom vehicle resource creator online | http://mta.dzek.eu/vehicle/ https://forum.multitheftauto.com/viewtopic.php?f=91&t=31891 And how i start it as a resource for a server https://wiki.multitheftauto.com/wiki/Server_Manual @α7мα∂qтя, you have forgot the attachedTo in the addEventHandler Link to comment
DeletedAccount1111 Posted November 27, 2012 Author Share Posted November 27, 2012 i think i could edit this: outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) what are the IDs for the bodikit parts? And how i start it as a resource for a server I just know this ^ Since this is a client script so function replace () outputChatBox ( "> replacing the euros vehicle" ) txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) addEventHandler ( "onClientResourceStart", replace ) but data means inside the data folder in the same directory of the script, right? Just like in html? Link to comment
toptional Posted November 27, 2012 Share Posted November 27, 2012 btw you didnt END The Function function replace () outputChatBox ( "> replacing the euros vehicle" ) end txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) addEventHandler ( "onClientResourceStart", replace ) Link to comment
DeletedAccount1111 Posted November 27, 2012 Author Share Posted November 27, 2012 btw you didnt END The Function function replace () outputChatBox ( "> replacing the euros vehicle" ) end txd = engineLoadTXD ( "data/euros.txd" ) engineImportTXD ( txd, 587 ) dff = engineLoadDFF ( "data/euros.dff", 587 ) engineReplaceModel ( dff, 587 ) addEventHandler ( "onClientResourceStart", replace ) I just copied the script from the wiki. Need to know how to replace a model, then i'll repeat it for the rest of the models (i dont know that data folder, for example) Link to comment
Jaysds1 Posted November 28, 2012 Share Posted November 28, 2012 sorry, but this really requires reading. Read the function page. Link to comment
TAPL Posted November 28, 2012 Share Posted November 28, 2012 Custom vehicle resource creator online | http://mta.dzek.eu/vehicle/https://forum.multitheftauto.com/viewtopic.php?f=91&t=31891 And how i start it as a resource for a server https://wiki.multitheftauto.com/wiki/Server_Manual @α7мα∂qтя, you have forgot the attachedTo in the addEventHandler Somehow, my post ignored. Link to comment
DeletedAccount1111 Posted November 28, 2012 Author Share Posted November 28, 2012 Custom vehicle resource creator online | http://mta.dzek.eu/vehicle/https://forum.multitheftauto.com/viewtopic.php?f=91&t=31891 And how i start it as a resource for a server https://wiki.multitheftauto.com/wiki/Server_Manual @α7мα∂qтя, you have forgot the attachedTo in the addEventHandler Somehow, my post ignored. I thought that link would have a basic meta.xml and script.lua to start with Link to comment
Sex* Posted December 11, 2012 Share Posted December 11, 2012 If u are trying to change only your car: Change in GTA3.img infernus.dff and infernus.txd and other cars like that. If u wanna change servers cars then you can find some scripts on the internet also and change in that script infernus.dff and infernus.txd and like that. Link to comment
denny199 Posted December 12, 2012 Share Posted December 12, 2012 Maybe this will help you: viewtopic.php?f=108&t=35828 Read the steps slow. 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