Difference between revisions of "NDGIU"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
 
Line 6: Line 6:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">UnbanIP() || .
+
|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>
 
</center>
Line 17: Line 17:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">UnbanUser() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">UnbanUser()</p>Params<br>userid - user id to unban || Unbans a banned user.
 
|}
 
|}
 
</center>
 
</center>
Line 28: Line 28:
 
{| 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">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