NeonBlack Posted April 21, 2009 Posted April 21, 2009 (edited) I created a lua.xml for Notepad++, which contains all functions that are actually on the wiki. Therefore I needed function lists I took from the wiki. You can download the results of my day here. <.< And yes, I know, there's already an API and maybe also function lists, but some said they might be not actual and now it's too late anyway. (I already wasted my day ) So I hope this is useful for anyone. I'll try to keep them up to date. You might also post suggestions here. Maybe I'll add the Lua standard functions later. Lua.xml for Notepad++ (MTA DP2.3 + 1.0 functions from 06/04/2009 without Lua standard functions) MTA Function List (Server + Client, no doubles!) MTA Server Function List MTA Client Function List (Last update: 06/04/2009) The functions in the API should be all marked with “version/serverorclient:” in front of the function name. version can be dp2.3 or 1.0, dp2.3 are the deprecated functions, 1.0 are all functions that are compatible with MTA 1.0 (nightly). serverorclient can be sevrer, client or both. There are probably many functions with incorrect parameterlist or some other bugs since the wiki seems not to have the same syntax for every function entry. Just report such bugs. You can use the API by copying the lua.xml into your \Notepad++\plugins\APIs directory. You'll probably have to restart Notepad++ to use the function list. Go to Settings -> Preference... -> Backup/Auto-completion and set your auto-completion settings there. Then you will be able to use the API in any .lua-file. I hope this isn't completely useless. NeonBlack Last Changes: - added outputChatBox argument list since it's a common used function (06/04/2009) Edited June 4, 2009 by Guest
robhol Posted April 21, 2009 Posted April 21, 2009 Looks quite awesome, nice work! Can't really check it out ATM , but this looks very promising. Again, nice work. But if I can come with a suggestion: don't waste energy trying to "keep it up to date", just update at release. Probably gonna save you a lot of relatively pointless work.
[DKR]silverfang Posted April 25, 2009 Posted April 25, 2009 Thanks this is really quite useful Can't wait until I finish my Coursework/Exams then I'll be back to MTA!
Cazomino05 Posted June 22, 2009 Posted June 22, 2009 I've updated this with the changes since your "last update" (adding functions + changing params) Also added some randomly undocumented functions that don't differ in params client and server side. http://cazomino05.com/lua.xml EDIT: Use http://cazomino05.com/lua2.xml If someone could keep this up to date though it'd be nice, I don't have the time I was just generally bored.
Prieto_Galletini Posted July 3, 2009 Posted July 3, 2009 thanks men i was really needing this cause im bad at typing once again thanks, and in the forums i can write better because firefox haha , thanks again man
gordliamjack Posted July 8, 2009 Posted July 8, 2009 I created a lua.xml for Notepad++, which contains all functions that are actually on the wiki.Therefore I needed function lists I took from the wiki. You can download the results of my day here. <.< And yes, I know, there's already an API and maybe also function lists, but some said they might be not actual and now it's too late anyway. (I already wasted my day ) So I hope this is useful for anyone. I'll try to keep them up to date. You might also post suggestions here. Maybe I'll add the Lua standard functions later. Lua.xml for Notepad++ (MTA DP2.3 + 1.0 functions from 06/04/2009 without Lua standard functions) MTA Function List (Server + Client, no doubles!) MTA Server Function List MTA Client Function List (Last update: 06/04/2009) The functions in the API should be all marked with “version/serverorclient:” in front of the function name. version can be dp2.3 or 1.0, dp2.3 are the deprecated functions, 1.0 are all functions that are compatible with MTA 1.0 (nightly). serverorclient can be sevrer, client or both. There are probably many functions with incorrect parameterlist or some other bugs since the wiki seems not to have the same syntax for every function entry. Just report such bugs. You can use the API by copying the lua.xml into your \Notepad++\plugins\APIs directory. You'll probably have to restart Notepad++ to use the function list. Go to Settings -> Preference... -> Backup/Auto-completion and set your auto-completion settings there. Then you will be able to use the API in any .lua-file. I hope this isn't completely useless. NeonBlack Last Changes: - added outputChatBox argument list since it's a common used function (06/04/2009) ]fix this pls cannot get onto this link Lua.xml for Notepad++ (MTA DP2.3 + 1.0 functions from 06/04/2009 without Lua standard functions) but thanks
CodeMaster Posted September 4, 2009 Posted September 4, 2009 Hahah, yeah that would be nice Btw SpZ and Draco have made quite "updated" versions on Draco's site. Cheers Nidza
Woovie Posted September 5, 2009 Posted September 5, 2009 c00l bump bro. I use this now: https://forum.multitheftauto.com/viewtop ... 91&t=24834
robhol Posted September 5, 2009 Posted September 5, 2009 c00l bump bro. I use this now: https://forum.multitheftauto.com/viewtop ... 91&t=24834 Of course it's a bump, duh. And that SE was so unstable the last time I tested it that I'll give it a LOT more time before I even consider half-seriously as something I'll let anywhere near my server...
Lordy Posted September 5, 2009 Posted September 5, 2009 Just to point out for the next one to make an api list, don't start manually writing the function names (as i've heard from some earlier threads), rather loop through _G table for functions and make the list automagically. Doesn't help for arguments though.
Buffalo Posted September 3, 2011 Posted September 3, 2011 (edited) Updated API with new 1.1 functions for those notepad++ users out there. Put it to a good use. http://www.mediafire.com/file/adbdl9g09lw7khy/lua.xml http://www.mediafire.com/file/k78f5xsa4khqzz9/lua.xml Edited September 3, 2011 by Guest
SDK Posted September 3, 2011 Posted September 3, 2011 Very nice! I also looked through the file and found some errors you might want to correct: setElementVelocity --has the wrong parameters gtServerConfigSetting => getServerConfigSetting utfChar, utfCode, utfLen, utfSeek, utfSub, getPerformanceStats --Utility functions that aren't added (they're also undocumented on the wiki)
Buffalo Posted September 3, 2011 Posted September 3, 2011 Thanks, updated: http://www.mediafire.com/file/k78f5xsa4khqzz9/lua.xml
JR10 Posted September 4, 2011 Posted September 4, 2011 Buffalo did, check the link above your link. Thanks Buffalo.
darkdreamingdan Posted September 4, 2011 Posted September 4, 2011 utf docs can be found here: https://wiki.multitheftauto.com/wiki/User:Talidan
Buffalo Posted September 4, 2011 Posted September 4, 2011 Updated with utf docs syntax and fixed some small mistakes. http://www.mediafire.com/file/k78f5xsa4khqzz9/lua.xml (same link)
3ventic Posted February 25, 2014 Posted February 25, 2014 Has someone updated this since the last version posted here?
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