xRGamingx Posted December 14, 2017 Share Posted December 14, 2017 (edited) 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 Edited December 14, 2017 by xRGamingx Link to comment
Moderators IIYAMA Posted December 14, 2017 Moderators Share Posted December 14, 2017 Replace line 31: addCommandHandler ( 'reloadcar', replaceModel) 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