Quited Posted July 6, 2013 Posted July 6, 2013 (edited) hi all It's nice to be these functions and exist Functions: engineloadIFP cancelAnimations -- Important loadCustom ped.ifp , anim.img , gta3.imgAnimations (Animations in gta3.img file example rifle.ifp) getMTAsettings setMTAsettings getServerIP getModSize (The size of gta3.img and gta_int.img files) setCursorIcon (for custom Cursor Icon) fxAddGraphics guiCreateGIF guiSetButtonColour guiSetTabColour Edited January 3, 2014 by Guest
Castillo Posted July 6, 2013 Posted July 6, 2013 setCursorIcon > Useless, you can set cursor alpha to 0 and draw your own. guiButtonColour > I don't understand this, do you mean the text of the button or the actual button color? guiTabColour > Why would you want to set a tab colour? cancelAnimations > What is this for? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Quited Posted July 6, 2013 Author Posted July 6, 2013 setCursorIcon > Useless, you can set cursor alpha to 0 and draw your own.guiSetButtonColour > I don't understand this, do you mean the text of the button or the actual button color? guiSetTabColour > Why would you want to set a tab colour? cancelAnimations > What is this for? setCursorIcon for custom Cursor Icon cancelAnimations (example : cancel jump animation and other animations in ped.ifp , anim.img and gta3.imgAnimations)
Castillo Posted July 6, 2013 Posted July 6, 2013 I already understood what setCursorIcon did, and I already said it's useless, because you can do it with scripting functions. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Quited Posted July 6, 2013 Author Posted July 6, 2013 I already understood what setCursorIcon did, and I already said it's useless, because you can do it with scripting functions. ok , other functions ?
CapY Posted July 6, 2013 Posted July 6, 2013 (edited) guiCreateGIF: https://wiki.multitheftauto.com/wiki/DxDrawGifImage getMTASettings: https://wiki.multitheftauto.com/wiki/DxGetStatus And the rest and/or most of the functions you can do via scripting. Edited July 9, 2013 by Guest
Quited Posted July 7, 2013 Author Posted July 7, 2013 https://wiki.multitheftauto.com/wiki/DxDrawGifImage == guiCreateGIF()https://wiki.multitheftauto.com/wiki/DxGetStatus == getMTASettings() if you mean on the client settings. And the rest and/or most of the functions you can do via scripting. ok , cancelAnimations , engineLoadIFP and other ?
ixjf Posted July 7, 2013 Posted July 7, 2013 Ok, let's see: engineLoadIFP: Look into the bug tracker and you will know why this hasn't been added yet. cancelAnimations: As for your example - toggle jump control off. loadCustom: Is it needed to repeat the same? getMTASettings: The name itself is ugly, dxGetStatus and getChatboxLayout should also do it. setMTASettings: No..? getServerIP: What's the purpose? getModSize: Once again, what's the purpose? setCursorIcon: setCursorAlpha + tracking mouse movement and drawing your own should do it. fxAddGraphics: ? guiCreateGIF: Maintaining lots of pictures for a single thing is not something I would like to do, an animated GIF (which is the only purpose of enabling GIF support here, I guess) is basically just a bunch of GIFs (they are lossy so I wouldn't use that image file type either) compacted into one - it is trivial and can be implemented easily in Lua. guiSetButtonColor: You could always render your picture as a button. guiSetTabColor: You could always create your own GUI library or implement customizable tabs using DirectX functions. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
Quited Posted July 7, 2013 Author Posted July 7, 2013 Ok, let's see: engineLoadIFP: Look into the bug tracker and you will know why this hasn't been added yet. cancelAnimations: As for your example - toggle jump control off. loadCustom: Is it needed to repeat the same? getMTASettings: The name itself is ugly, dxGetStatus and getChatboxLayout should also do it. setMTASettings: No..? getServerIP: What's the purpose? getModSize: Once again, what's the purpose? setCursorIcon: setCursorAlpha + tracking mouse movement and drawing your own should do it. fxAddGraphics: ? guiCreateGIF: Maintaining lots of pictures for a single thing is not something I would like to do, an animated GIF (which is the only purpose of enabling GIF support here, I guess) is basically just a bunch of GIFs (they are lossy so I wouldn't use that image file type either) compacted into one - it is trivial and can be implemented easily in Lua. guiSetButtonColor: You could always render your picture as a button. guiSetTabColor: You could always create your own GUI library or implement customizable tabs using DirectX functions. getServerIP purpose is to get server IP and has a many uses getModSize purpose is get Mod Size in gta3.img To verify that the files in gta3.img original or no "fxAddGraphics" add Graphics to Server (example : ENBSeries graphics)
ixjf Posted July 7, 2013 Posted July 7, 2013 getServerIP: Define a variable with the server's IP. getModSize: Use onPlayerModInfo fxAddGraphics: No, use shaders. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
Quited Posted July 7, 2013 Author Posted July 7, 2013 getServerIP: Define a variable with the server's IP. getModSize: Use onPlayerModInfo fxAddGraphics: No, use shaders. i know , but if onPlayerModInfo include "getModSize" will be the better.
ixjf Posted July 7, 2013 Posted July 7, 2013 Care to explain why? I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
Raahim Posted July 8, 2013 Posted July 8, 2013 about setting the colors, use dx. Join the Network of Entertainment and Gaming Join No Bullsh*t Gaming (Replace the '*' with an 'i') 8x 16 Slot servers for free! gta-servers.net giveaway! Sane Hosting - Reliable & Cheap Game Servers and Reseller Package
iPrestege Posted July 8, 2013 Posted July 8, 2013 Care to explain why? I think he meant the file size as example : 1.mb .
فاّرس Posted July 8, 2013 Posted July 8, 2013 getMTAsettings = You mean this for meta.xml ? if the answer yes use , getMTAsettings = get setMTAsettings = set if the answer is not true Explain to me . Sha67 سابقاً
Sora Posted July 8, 2013 Posted July 8, 2013 getMTAsettings = You mean this for meta.xml ?if the answer yes use , getMTAsettings = get setMTAsettings = set if the answer is not true Explain to me . nope i think he meant setting the client settings but most of his requests are useless .. actually i don't find something useful here .. [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
CapY Posted July 9, 2013 Posted July 9, 2013 Care to explain why? I think he meant the file size as example : 1.mb . You don't say? We REALLY, REALLY wouldn't know that if it wasn't for you. Thank you for making it clear!
DeletedAccount1111 Posted July 15, 2013 Posted July 15, 2013 What about something so we can easyly replace and ADD car paintjobs (mostly for custom cars, cause default one can use shaders)
myonlake Posted July 16, 2013 Posted July 16, 2013 All of those can be done with the current MTA functions, unfortunately. engineLoadIFP is not available due to it having critical bugs and therefore is still an on-going project over Mantis. If I helped you, please click the like button on the right Thanks!
DeletedAccount1111 Posted July 16, 2013 Posted July 16, 2013 All of those can be done with the current MTA functions, unfortunately.engineLoadIFP is not available due to it having critical bugs and therefore is still an on-going project over Mantis. How can Custom cars get all the 3 paintjobs? D: And no, with shaders no, shaders will just replace car default body.
myonlake Posted July 17, 2013 Posted July 17, 2013 All of those can be done with the current MTA functions, unfortunately.engineLoadIFP is not available due to it having critical bugs and therefore is still an on-going project over Mantis. How can Custom cars get all the 3 paintjobs? D: And no, with shaders no, shaders will just replace car default body. When it comes down to paintjobs on custom modifications, it gets a little more complicated than you think it would, however in my opinion it could be done - yet I am no expert in that expertise so I can't really say for sure, maybe I'll leave that to the developers. However, you can make custom paintjobs and with shaders put them on the vehicle like I do. If I helped you, please click the like button on the right Thanks!
DeletedAccount1111 Posted July 17, 2013 Posted July 17, 2013 All of those can be done with the current MTA functions, unfortunately.engineLoadIFP is not available due to it having critical bugs and therefore is still an on-going project over Mantis. How can Custom cars get all the 3 paintjobs? D: And no, with shaders no, shaders will just replace car default body. When it comes down to paintjobs on custom modifications, it gets a little more complicated than you think it would, however in my opinion it could be done - yet I am no expert in that expertise so I can't really say for sure, maybe I'll leave that to the developers. However, you can make custom paintjobs and with shaders put them on the vehicle like I do. Yes, i already made default sultan a Rally with shaders, but i have to find the way to add custom paintjobs to custom cars.
MTA Team qaisjp Posted July 22, 2013 MTA Team Posted July 22, 2013 Now to finish off this despicable, rubbish topic by an inexperienced pathetic excuse for a scripter: engineloadIFP - A planned function since 2009 Nothing you do will change this. cancelAnimations - just use setPedAnimation(player), that removes any active animation. If you're really stubborn, which I assume you are, use this code: function cancelAnimations(p) return setPedAnimation(p) end loadCustom ped.ifp , anim.img , gta3.imgAnimations (Animations in gta3.img file example rifle.ifp) - refer to the first one. getMTAsettings setMTAsettings Nickname: getPlayerName() Graphics: DxGetStatus Audio: Why would you need this? Chat: getChatBoxLayout getServerIP - getModSize (The size of gta3.img files) OnPlayerModInfo use this, because no, using a function doesn't make it better. setCursorIcon (for custom Cursor Icon) - set setCursorAlpha and dxDrawImage fxAddGraphics - what teh actualwhat guiCreateGIF - dxDrawGifImage guiSetButtonColour guiSetTabColour ---- implement your own gui system.
Sora Posted July 22, 2013 Posted July 22, 2013 Another good solution You can now attempt to bribe MTA devs to fix your favorite bug or add some new feature to MTA:SA.All monies collected go towards meeting the costs of running the MTA:SA servers. (Full details of which are available somewhere) [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Recommended Posts