XetaQuake Posted January 31, 2008 Share Posted January 31, 2008 Hi, is there any way that the lua codes shows in Notepad++ like in the wiki: http://development.mtasa.com/index.php? ... PlayerPing can you see the coloured code on the wiki? that is wath i mean. yes, in Notepad++ the code is already coloured, but only things like then return end, but i want things like onPlayerJoin. So i need the Syntax file or anything like this, that Notepad++ known the MTA syntax =) Link to comment
Twig Posted January 31, 2008 Share Posted January 31, 2008 you can customise the highlighting in notepad++ for lua, take a snoop around the settings. EDIT: someone made an api extension to notepad++ including all the functions for autocomplete, you can use that along with copying all the functions into the style configurator, I forget where it is, I can upload it if need be. Link to comment
XetaQuake Posted January 31, 2008 Author Share Posted January 31, 2008 its realy not ease to add up to 800 MTA:DM Syntax´en in the settings yes pleas uppload is, i can than see if this is waht i mean Link to comment
XetaQuake Posted February 3, 2008 Author Share Posted February 3, 2008 Twig, can you give me the Notepad++ mod? i have alredy send you are pm, but no answer Link to comment
norby89 Posted February 3, 2008 Share Posted February 3, 2008 yea that would be awesome Link to comment
Twig Posted February 4, 2008 Share Posted February 4, 2008 lol sorry I mean to do it the other day but the pastebin was down =C . http://mta.pastebin.com/m262e2672 That's a completeish list of all the functions, Also save them as lua.api within the folder C:\Program Files\Notepad++\plugins\APIs\ and when you press Ctrl+space you have auto complete Link to comment
norby89 Posted February 4, 2008 Share Posted February 4, 2008 cheers m8 EDIT: is there a way to have another category, like FUNC4 and put the list there? Link to comment
XetaQuake Posted February 4, 2008 Author Share Posted February 4, 2008 thanks Twig! (lol i have the same windows style ) Thanks for the file Link to comment
Recommended Posts