Blaawee Posted October 27, 2011 Share Posted October 27, 2011 (edited) 1- is there any resource to do jobs in freeroam gamemode with a gui not command ? 2- is there any resource to change the view mode into a car when pressing button ? 3- i have a txd and dff weapon skin , i want to but it in me server how ? Edited October 27, 2011 by Guest Link to comment
AnDReJ98 Posted October 27, 2011 Share Posted October 27, 2011 3): Use this: You must use the weapon OBJECT model ID's not the weapon model ID. You can find weapon OBJECT model in this link: https://wiki.multitheftauto.com/wiki/Weapons -- client side addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "m4.txd" ) engineImportTXD ( txd, 356 ) dff = engineLoadDFF ( "m4.dff", 0 ) engineReplaceModel ( dff, 356 ) end) meta The script for weapon replacement must be type="client" in meta.xml. You can only replace weapons, skin models in MTA 1.1.1, not 1.1. Link to comment
tim260 Posted October 27, 2011 Share Posted October 27, 2011 you got that from a other topic mate you didnt make it yourself ; ) Link to comment
AnDReJ98 Posted October 27, 2011 Share Posted October 27, 2011 tim260 Please reply to the topic interest I just want to help -= I Blaawee I =- i get that from https://wiki.multitheftauto.com/wiki/EngineLoadDFF And I make with my self for a weapon m4 Link to comment
Blaawee Posted October 27, 2011 Author Share Posted October 27, 2011 here is my syntex addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "bat.txd" ) engineImportTXD ( txd, 5 ) dff = engineLoadDFF ( "bat.dff", 0 ) engineReplaceModel ( dff, 5 ) end) not work <meta> <script src="replace.lua" type="client" /> <file src="bat.txd" /> <file src="bat.dff" /> </meta> Link to comment
myonlake Posted October 27, 2011 Share Posted October 27, 2011 <meta> <info name="Replacing a weapon"></info> <script src="replace.lua" type="client"></script> <file src="bat.txd"></file> <file src="bat.dff"></file> </meta> local resourceRoot = getResourceRootElement(getThisResource()) addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "m4.txd" ) engineImportTXD ( txd, 356 ) dff = engineLoadDFF ( "m4.dff", 0 ) engineReplaceModel ( dff, 356 ) end) Link to comment
AnDReJ98 Posted October 27, 2011 Share Posted October 27, 2011 no ID Model ID here https://wiki.multitheftauto.com/wiki/Weapons addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "bat.txd" ) engineImportTXD ( txd, 336 ) dff = engineLoadDFF ( "bat.dff", 0 ) engineReplaceModel ( dff, 336 ) end) Link to comment
Blaawee Posted October 27, 2011 Author Share Posted October 27, 2011 is this right ? addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "bat.txd" ) engineImportTXD ( txd, 336 ) dff = engineLoadDFF ( "bat.dff", 0 ) engineReplaceModel ( dff, 336 ) txd = engineLoadTXD ( "de.txd" ) engineImportTXD ( txd, 348 ) dff = engineLoadDFF ( "de.dff", 0 ) engineReplaceModel ( dff, 348 ) end) Link to comment
Blaawee Posted October 27, 2011 Author Share Posted October 27, 2011 thx guys it's work , what about # 1 , 2 ? Link to comment
AnDReJ98 Posted October 27, 2011 Share Posted October 27, 2011 addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "de.txd" ) engineImportTXD ( txd, 348 ) dff = engineLoadDFF ( "de.dff", 0 ) engineReplaceModel ( dff, 348 ) end) addEventHandler("onClientResourceStart",resourceRoot, function () txd = engineLoadTXD ( "bat.txd" ) engineImportTXD ( txd, 336 ) dff = engineLoadDFF ( "bat.dff", 0 ) engineReplaceModel ( dff, 336 ) end) this should work Link to comment
karlis Posted October 27, 2011 Share Posted October 27, 2011 1) what is Jops? 2) https://community.multitheftauto.com/index.php?p= ... ils&id=844 (no mouselook avaible yet tough) Link to comment
Blaawee Posted October 27, 2011 Author Share Posted October 27, 2011 jobs edit 2:) i want press button to change the view to the steer and if i bind it again change the view to the defult Link to comment
karlis Posted October 27, 2011 Share Posted October 27, 2011 read the description of that res. jobs: https://community.multitheftauto.com/index.php?p= ... ls&id=2484 Link to comment
Blaawee Posted October 27, 2011 Author Share Posted October 27, 2011 read the description of that res.jobs: https://community.multitheftauto.com/index.php?p= ... ls&id=2484 this resource have alot of command :@ 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