Useful Functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Main page of the useful functions category.)
 
mNo edit summary
Line 5: Line 5:
Please add your signature after adding or editing some piece of code. And please sort the functions alphabetically.
Please add your signature after adding or editing some piece of code. And please sort the functions alphabetically.


{{Useful Functions}}
{{Category:Useful Functions}}

Revision as of 11:54, 13 May 2009

On this site you will be able to find and contribute some useful functions and code snippets like requested long long time ago by eAi on the forums. These list offers the great opportunity for sharing and optimizing general (or maybe also special) functions and codes.

I just ask you to not delete or edit contributions of others without any reason. Optimizations and corrections are welcome though. Please add your signature after adding or editing some piece of code. And please sort the functions alphabetically.

The Useful Functions category contains Lua functions contributed by our community. Feel free to use them in your scripts but also to add new useful functions or optimize existing ones.

Be geared to the style of MTA's server and client functions. A good example of how a useful function page should look like you can get here. Don't forget to add the function to the Useful functions category with {{Useful Function}}! Please don't delete or modify functions of others for no reason.

By the way: The idea came from an outdated topic on the forums.