-ffs-AbodyRulez Posted August 22, 2015 Share Posted August 22, 2015 Are those functions updated with the new MTA 1.5? If not, is there anyway to update them? Thanks, EDIT: @Controlled,Yes, you can hit TAB and it will auto-complete function name and in addition function parameter names, so you know what arguments function is expecting. I will keep it up to date but I don't know interval on how often I will run my bot. I'm basically running an application which gets all the function names from the wiki and generates the content I need for Sublime Text. The problem is it has to connect to every function page on the wiki to get all the details, no matter if I already have that function in the package or not. So, that's a killer (bandwidth-wise) for wiki to get requests from my bot for all wiki pages (that's almost 1500 functions, client and server only functions as well as shared functions). MTA team doesn't add new functions every day so that's fine, I can update it from time to time. Thanks for the comments and questions so far. I'm glad you're all liking it. Questions and suggestions are welcome. Just noticed your comment back there, can you share that application? Link to comment
ChaosMTA Posted August 22, 2015 Share Posted August 22, 2015 Are those functions updated with the new MTA 1.5? If not, is there anyway to update them? Thanks, EDIT: @Controlled,Yes, you can hit TAB and it will auto-complete function name and in addition function parameter names, so you know what arguments function is expecting. I will keep it up to date but I don't know interval on how often I will run my bot. I'm basically running an application which gets all the function names from the wiki and generates the content I need for Sublime Text. The problem is it has to connect to every function page on the wiki to get all the details, no matter if I already have that function in the package or not. So, that's a killer (bandwidth-wise) for wiki to get requests from my bot for all wiki pages (that's almost 1500 functions, client and server only functions as well as shared functions). MTA team doesn't add new functions every day so that's fine, I can update it from time to time. Thanks for the comments and questions so far. I'm glad you're all liking it. Questions and suggestions are welcome. Just noticed your comment back there, can you share that application? I agree, would love to have this updated. Link to comment
alberto2345 Posted December 2, 2015 Share Posted December 2, 2015 Hi, I myself was wanting it updated as well, so tonight I added all the changes and additions that were missing, as well as fixed/added some things that you guys said in the comments. I posted it on my github so its alittle easier for you all and easier to see/add changes and additions. This doesnt mean that I've "taken over" 50p's package or anything, I just wanted it updated and made it public since others have and will want an updated version. Link: https://github.com/alberto2345/50pSublimeText3Package Thanks! PS: Some things may still be missing or wrong, so if you do notice anything, let me know Link to comment
imullika1 Posted December 2, 2015 Share Posted December 2, 2015 Hi,I myself was wanting it updated as well, so tonight I added all the changes and additions that were missing, as well as fixed/added some things that you guys said in the comments. I posted it on my github so its alittle easier for you all and easier to see/add changes and additions. This doesnt mean that I've "taken over" 50p's package or anything, I just wanted it updated and made it public since others have and will want an updated version. Link: https://github.com/alberto2345/50pSublimeText3Package Thanks! PS: Some things may still be missing or wrong, so if you do notice anything, let me know Keep up the good work! Link to comment
.:HyPeX:. Posted December 2, 2015 Share Posted December 2, 2015 Looks lovely and great, but i myself what loved from MTA:SE was firstly the syntax checker wich was on-air and just saved alot of time is there a way to have this on sublime?, and second, is there a way to change the font to look exactly as SE? (Ignore the old-thrash code, it was a random lua file i got for testing) http://i.imgur.com/oT0LGFg.png EDIT: took screenshots for a step-by-step for those who need it: Type %appdata% in the path to go directly to roaming folder, and go to sublime text 3 folder. http://i.imgur.com/ESt2iGc.png Packages Folder http://i.imgur.com/8HtXheR.png User > Unzip 50p's stuff http://i.imgur.com/lu1SYrg.png Open a file and select the lua syntax for MTA:SA http://i.imgur.com/1m68NPX.png Select the Color scheme http://i.imgur.com/vAZ7KVt.png Link to comment
alberto2345 Posted December 3, 2015 Share Posted December 3, 2015 Looks lovely and great, but i myself what loved from MTA:SE was firstly the syntax checker wich was on-air and just saved alot of time is there a way to have this on sublime?, and second, is there a way to change the font to look exactly as SE?(Ignore the old-thrash code, it was a random lua file i got for testing) http://i.imgur.com/oT0LGFg.png EDIT: took screenshots for a step-by-step for those who need it: Type %appdata% in the path to go directly to roaming folder, and go to sublime text 3 folder. http://i.imgur.com/ESt2iGc.png Packages Folder http://i.imgur.com/8HtXheR.png User > Unzip 50p's stuff http://i.imgur.com/lu1SYrg.png Open a file and select the lua syntax for MTA:SA http://i.imgur.com/1m68NPX.png Select the Color scheme http://i.imgur.com/vAZ7KVt.png I've searched for something like a syntax checker since I've also wanted on. It only works for Lua stuff, so it wont check for missing arguments in MTA functions or anything, but you'll need to use a linter. To install: 1) Download Lua for Windows - Link: https://code.google.com/p/luaforwindows/ 2) Go to package installer in sublime text (CTRL+SHIFT+P) 3) Search for Package Control: Install Package and then press select the first one 4) Search for linter and select SublimeLinter (for me it was the second one) 5) Go back to package installer and search for Package Control: Install Package, then search for lua and find SublimeLinter-lua and install that 6) Restart Sublime Text 7) When opening a Lua file, make sure its as the Lua syntax, not Lua (MTA:SA) From there, you should see it picking up simple errors in the code on-the-fly. And again, make sure its set as Lua for the syntax, not the MTA one. I've tried making it work for MTA lua, but because its not an actual Syntax, I can't get it to work. If anybody knows how or has any luck getting it to work, please let everyone know! Also, if you don't mind, can I put your installation process on the github page? Its nice and clear Link to comment
smw94 Posted December 5, 2015 Share Posted December 5, 2015 wow, this is great, thanks .. Link to comment
evan varane Posted December 6, 2015 Share Posted December 6, 2015 Nice Man , keep working Link to comment
alberto2345 Posted December 7, 2015 Share Posted December 7, 2015 UPDATE Added Event handlers for both clientside and serverside. Download the latest from my github. ( https://github.com/alberto2345/50pSublimeText3Package ) Let me know if any issues or spelling mistakes occur! Thanks! Link to comment
.:HyPeX:. Posted December 12, 2015 Share Posted December 12, 2015 UPDATEAdded Event handlers for both clientside and serverside. Download the latest from my github. ( https://github.com/alberto2345/50pSublimeText3Package ) Let me know if any issues or spelling mistakes occur! Thanks! Do you mind trying to get the lua syntax checker with the MTA one from 50p? (Not necesarilly detect MTA's function, but just lua and leaving it at the same time without needing to switch to the default lua syntax), and yea, you can use the images, i did them with that purpose Link to comment
Yazir Posted February 18, 2016 Share Posted February 18, 2016 It would be nice if i could switch between client and server syntax. Link to comment
Aly-M Posted September 11, 2016 Share Posted September 11, 2016 Do I need to pay after downloading sublime 2 for continued use as stated in their website? Also sublime 3 is currently in beta. Link to comment
iPrestege Posted September 23, 2016 Share Posted September 23, 2016 Keep this useful work up that's very useful thanks 50p Link to comment
enzopaul4 Posted October 23, 2016 Share Posted October 23, 2016 Extract the .zip to C:\Users\\AppData\Roaming\Sublime Text 3\Packages\User\50pMTAEditor\ I dont have Sublime text 3 Link to comment
iPrestege Posted October 23, 2016 Share Posted October 23, 2016 Just now, enzopaul4 said: Extract the .zip to C:\Users\\AppData\Roaming\Sublime Text 3\Packages\User\50pMTAEditor\ I dont have Sublime text 3 Then you have to download it from here : https://www.sublimetext.com/3 Link to comment
enzopaul4 Posted October 23, 2016 Share Posted October 23, 2016 Just now, FaHaD said: Then you have to download it from here : https://www.sublimetext.com/3 Thank you Link to comment
Xp1Mas Posted April 7, 2017 Share Posted April 7, 2017 The link says the file is not found, is there an updated link please? Link to comment
iPrestege Posted April 7, 2017 Share Posted April 7, 2017 New updated link valid until May 8 for month from now if anyone want a new link if that one expired contact me New link : https://ufile.io/cb6a61 @Xp1Mas 2 Link to comment
Angelo. Posted April 9, 2017 Share Posted April 9, 2017 Does anyone know if it's possible to disable adding function parameters on auto-complete? Maybe only put mandatory arguments and not put optional ones? for example I type "outp" then press Tab and have "outputChatBox(string message)" if it's client or have "outputChatBox(string message, player target)" if server side. Link to comment
Tekken Posted April 12, 2017 Share Posted April 12, 2017 Preferences > Settings > Add: "auto_complete": false, Link to comment
Backsage Posted June 30, 2017 Share Posted June 30, 2017 On 2/18/2016 at 00:16, Yazir said: It would be nice if i could switch between client and server syntax. Yes, that would be so nice to have different font color for server and client. Could also be nice for Notepad++. Also, when is this getting updated? Link to comment
Yazir Posted July 22, 2017 Share Posted July 22, 2017 https://drive.google.com/file/d/0B7mtMTEMVviJdGcwUTFYTU9DbDg/view?usp=sharing My reupload. Link to comment
External Posted August 26, 2017 Share Posted August 26, 2017 How do i set the color of the new function that i've created? Link to comment
Mr.Loki Posted August 26, 2017 Share Posted August 26, 2017 2 hours ago, External said: How do i set the color of the new function that i've created? Edit the file called "Lua MTA.tmLanguage" inside of the mta package. 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