Hello friends who help me?
I need to put the GTA V yate for the mta: sa
and I have these 7 Files ..
What is my errors?
Help please Friends
--Client
function replaceModel()
col = engineLoadCOL("models/Barandas_sx.col")
engineReplaceCOL(col, Barandas_sx,493)
col = engineLoadCOL( "models/Yate.col" )
engineReplaceCOL(col, Yate,493)
txd_floors = engineLoadTXD('Yate_0.txd',493)
engineImportTXD(txd_floors,493)
----
txd_floors = engineLoadTXD ( "models/Barandas_sx.txd" )
engineImportTXD ( txd_floors, 493 )
---
txd_floors = engineLoadTXD ( "modelsYate.txd" )
engineImportTXD ( txd_floors, 493 )
-----
dff_floors = engineLoadDFF ( "modelsYate.dff" )
engineReplaceModel ( dff_floors, 493 )
----
dff_floors = engineLoadDFF ( "models/Barandas_sx.dff" )
engineReplaceModel ( dff_floors, 493 )
end
addEventHandler ( 'onClientResourceStart', getResourceRootElement(getThisResource()), replaceModel)
addCommandHandler ( 'reloadcar', replaceModel
--Meta
<meta>
<info author="Gaming" description="Yate" version="1.5" type="script" />
<script src="client.lua" type="client"/>
<script src="server.lua" type="server"/>
<file src="models/Yate.txd" type="client"/>
<file src="models/Yate.dff" type="client"/>
<file src="models/Yate_0.txd" type="client"/>
<file src='models/Yate.col' />
<file src="models/Barandas_sx.dff" type="client"/>
<file src="models/Barandas_sx.txd" type="client"/>
<file src='models/Barandas_sx.col' />
</meta>
--Files
Look