Jump to content

Connecting the Asi plugin and scripts to the MTA


Lance_Delmago

Recommended Posts

4 hours ago, Hydra said:

You can't use .ASI scripts on MTA. If they were allowed, there would be chaos on the servers, some let you create cars, npc's, you can cheat by setting health, armor, money etc.. with these files

Then the question is, how do I get a first-person view by VORON 3.0 and add new cars to the mta without using fastman92?

Link to comment
15 hours ago, Lance_Delmago said:

Then the question is, how do I get a first-person view by VORON 3.0 and add new cars to the mta without using fastman92?

You can search for resources on this forum or its community:

https://community.multitheftauto.com
https://forum.multitheftauto.com/forum/87-resources/

Or you can learn scripting and create your own first person mode


For car mods you can download them from:
https://www.gtainside.com/en/news.php
https://www.gtaall.com

Make a folder and create meta.xml client.lua files
In meta.xml you will need to put:
 

<meta>

<script src="client.lua" type="client" />

--// Now the mods
<file src="themodname.dff" />
<file src="themodname.txd" />

</meta>

In client.lua you will need to put:
 

local dff = engineLoadDFF("themodname.dff")
engineReplaceModel(dff, theIDForVehicle)

local txd = engineLoadTXD("themodname.txd")
engineImportTXD(txd, theIDForVehicle)


--// Example replacing infernus

local dff = engineLoadDFF("infernus.dff")
engineReplaceModel(dff, 411)

local txd = engineLoadTXD("infernus.txd")
engineImportTXD(txd, 411)

You can see all vehicles ID's on these websites:
https://wiki.multitheftauto.com/wiki/Vehicle_IDs
http://weedarr.wikidot.com/veh


I hope you understood what I explained to you and if you still have problems enter the official discord server to get more detailed help
Official MTA Discord: https://discord.gg/mtasa

Link to comment
10 hours ago, Hydra said:

You can search for resources on this forum or its community:

https://community.multitheftauto.com
https://forum.multitheftauto.com/forum/87-resources/

Or you can learn scripting and create your own first person mode


For car mods you can download them from:
https://www.gtainside.com/en/news.php
https://www.gtaall.com

Make a folder and create meta.xml client.lua files
In meta.xml you will need to put:
 

<meta>

<script src="client.lua" type="client" />

--// Now the mods
<file src="themodname.dff" />
<file src="themodname.txd" />

</meta>

In client.lua you will need to put:
 

local dff = engineLoadDFF("themodname.dff")
engineReplaceModel(dff, theIDForVehicle)

local txd = engineLoadTXD("themodname.txd")
engineImportTXD(txd, theIDForVehicle)


--// Example replacing infernus

local dff = engineLoadDFF("infernus.dff")
engineReplaceModel(dff, 411)

local txd = engineLoadTXD("infernus.txd")
engineImportTXD(txd, 411)

You can see all vehicles ID's on these websites:
https://wiki.multitheftauto.com/wiki/Vehicle_IDs
http://weedarr.wikidot.com/veh


I hope you understood what I explained to you and if you still have problems enter the official discord server to get more detailed help
Official MTA Discord: https://discord.gg/mtasa

I need to add new cars and not replace existing ones. And I will have a global mod with my own map, which will make it impossible to visit other servers. Also I repeat I need to run asi scripts in mta

Link to comment
On 15/10/2023 at 16:50, Hydra said:

You can't use .ASI scripts on MTA, what's so hard to understand?

There is a silent patch on one Mta project , and it is .the asi script and the plus on it also broke the limits on adding cars through the client code. and the question after that can be used or not? Client version 1.6

 

Link to comment
  • 2 months later...

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