setTableAccess: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|name=setTableAccess | |name=setTableAccess | ||
|version=1.4.0.1 | |version=1.4.0.1 | ||
|trusted=true | |||
|description= | |description= | ||
Sets whether or not the specified table is accessible to players | Sets whether or not the specified table is accessible to players. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> |
Revision as of 12:30, 3 May 2016
setTableAccess() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.4.0.1
Sets whether or not the specified table is accessible to players.
Usage
setTableAccess(tableName, accessible)
Parameters
tableName
- A string containing the name of the Table.accessible
- Whether or not the table can be accessed by players in the Table Window,true
(1
) orfalse
(0
).
Examples
[h:setTableAccess("randomMonsters", 0)]