Jump to content

Scripting editor with MTA commands?


robhol

Recommended Posts

Posted

Dunno if this has been asked before, I tried searching but didn't find anything useful.

Does anybody know of a scripting editor with the MTA commands in it? useful for noobs like me...

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted
No there isn't one, but maybe some day someone will make a plugin for Notepad++ with them. That would be really useful.

Word. I actually thought about Notepad ++ myself, but:

a) I have NO idea how to do it

b) we are talking about a considerable amount of commands here, and it would be too time-consuming and/or boring for one person to do by himself...

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

download this file: http://www.pinkboxstudio.com/lua.api

put it in your notepad++/plugins/APIs/ directory.

in notepad++ go into settings->style configurator select lua in the language scroll list, select one of the styles (i use FUNC1) in the style scroll list and copy and past all of the functions in the lua.api file (you can open it in notepad++) into the "user defined keywords" box.

You now have both colour coded MTA functions, and auto complete (by starting to type a function and then pressing ctrl+space).

fin!

EDIT: this may be an old list (and is definitely not complete for DP3 functions)

2hplsom.png

Posted

Just after my post I started making my list and when I visited this topic I saw your list... my time was wasted... anyway here is my list http://y50p.50g.com/mtasa/misc/lua.api

It contains all the dp3 functions (up to today) all of the dp3 functions are suffixed "dp3".

Posted

Thanks a FRICKING lot! Now I won't have to open the wiki for every other function I want to write x)

(If I get it working, that is)

Edit; oh.. no function prototypes.. would that be possible to add? I'd be willing to help.

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

That sounds VERY interesting - but many things that sound VERY interesting either turn out crappy, or don't turn out at all... I think this could be a nice tool in the meantime... anybody up for it? As I said, I'll be able to help.

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

Bump, I'd really like some feedback on the idea, and I have NO idea how to pull it off... anybody care to help?

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

  • 2 weeks later...
Posted

Anybody know how to start, how to do it? In any case, bump again. :)

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

Actually, I just figured out that Notepad ++ 5.0 supports custom keyword lists WITH code preview tooltips.. if anybody would like to help me with throwing together a database, that'd be great.

5.0 BETA can be found here, and I'll be checking it out. :)

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

Any ETA?

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

What do you think I mean with MTA commands? :P All the MTA-provided functions... But will you be done SOON or will I have to look for another way to solve this in the meantime?

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

I try to release it soon as i can but for now i have to much bugs and the project system need to be rewritten and also i need to build in an test server.

All with all i thing it going to be released when DP 3 is released.

Why looking here, while my post is up there /\ :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...