OOP in Lua

From Multi Theft Auto: Wiki
Revision as of 01:16, 18 January 2015 by Novo (talk | contribs) (Created page with "{{Note_box|Any further questions can be discussed at the [http://google.com topic] dedicated to this tutorial.}} This is a scripting tutorial that teaches you how to start us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is no longer in use as it results in poor readability.

This is a scripting tutorial that teaches you how to start using an Object-Oriented developing interface with Lua.

Introduction

There are few basic predefined variables we should recognize and know:

self -- refers to the environment within which we are executing a code