Predefined variables list: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<section name="Server" class="server" show="true"> | <section name="Server" class="server" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Line 15: | Line 14: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | </section> | ||
<section name="Client" class="client" show="true"> | <section name="Client" class="client" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Line 33: | Line 31: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | </section> | ||
List hidden local variables, that can be in functions-handlers: | List hidden local variables, that can be in functions-handlers: | ||
<section name="Server/Client" class="both" show="true"> | <section name="Server/Client" class="both" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> |
Revision as of 19:02, 6 February 2012
Click to collapse [-]
Server_G -- Table, contains all global variables. _VERSION -- Version LUA in server. coroutine -- Table, contains functions for thread. debug -- Table, contains debug functions. exports -- Table, contains all export functions server. math -- Table, contains mathematical functions. resource -- Element, current resource. resourceRoot -- Element, root element current resource. root -- Element, root element server. string -- Table, contains string functions. table -- Table, contains functions for tables.
Click to collapse [-]
ClientguiRoot -- Element, root element all GUI elements. localPlayer -- Element, local player. _G -- Table, contains all global variables. _VERSION -- Version LUA in client. coroutine -- Table, contains functions for thread. debug -- Table, contains debug functions. exports -- Table, contains all export functions client. math -- Table, contains mathematical functions. resource -- Element, current resource. resourceRoot -- Element, root element current resource. root -- Element, root element client. string -- Table, contains string functions. table -- Table, contains functions for tables.
List hidden local variables, that can be in functions-handlers:
Click to collapse [-]
Server/Clientsource -- Element, who call event. this -- Element, which was attached function-handler. sourceResource -- Resource, which was called event. sourceResourceRoot -- Element, root element resource, which was called event. client -- Client, which was called event. If event called not client - not used. eventName -- Name event, which called function-handler.
List create user Fro, More details on the functios-handlers.
If list is broken or change - write down update list and this post will be updated.