Difference between revisions of "NDGIU"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">UnregisterEventHandler() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">UnbanIP()</p>Params<br>address - ipaddress to unban, must be an exact match to a banned ip || Unbans an ipaddress.
 +
|}
 +
</center>
 +
<p style="width: 60%;margin: 0 auto">Example</p>
 +
<div style="width:60%;margin: 0 auto">
 +
  CODE EXAMPLE BLOCK
 +
</div>
 +
 
 +
<center>
 +
{| class="wikitable" | style="width: 60%"
 +
|-
 +
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">UnbanUser()</p>Params<br>userid - user id to unban || Unbans a banned user.
 +
|}
 +
</center>
 +
<p style="width: 60%;margin: 0 auto">Example</p>
 +
<div style="width:60%;margin: 0 auto">
 +
  CODE EXAMPLE BLOCK
 +
</div>
 +
 
 +
<center>
 +
{| class="wikitable" | style="width: 60%"
 +
|-
 +
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">UnregisterEventHandler()</p>Params<br>scriptname - Script name which is the same you would use to require the file (ie: default:base_mobile) (Note: If you pass nil or an empty string it will use the current file)<br>event - event to be fired<br>eventid - event identifier of the specific event || Unregisters an event handler for the specified file (package). These handlers are not saved and must be registered every time the object is loaded.
 
|}
 
|}
 
</center>
 
</center>

Latest revision as of 06:42, 24 November 2019

[Main] [Lua Examples]

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Global Functions & Examples

UnbanIP()

Params
address - ipaddress to unban, must be an exact match to a banned ip
Unbans an ipaddress.

Example

 CODE EXAMPLE BLOCK

UnbanUser()

Params
userid - user id to unban
Unbans a banned user.

Example

 CODE EXAMPLE BLOCK

UnregisterEventHandler()

Params
scriptname - Script name which is the same you would use to require the file (ie: default:base_mobile) (Note: If you pass nil or an empty string it will use the current file)
event - event to be fired
eventid - event identifier of the specific event
Unregisters an event handler for the specified file (package). These handlers are not saved and must be registered every time the object is loaded.

Example

 CODE EXAMPLE BLOCK