Difference between revisions of "NDGIU"
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
Global Functions & Examples
UnbanIP() Paramsaddress - ipaddress to unban, must be an exact match to a banned ip |
Unbans an ipaddress. |
Example
CODE EXAMPLE BLOCK
UnbanUser() Paramsuserid - user id to unban |
Unbans a banned user. |
Example
CODE EXAMPLE BLOCK
UnregisterEventHandler() Paramsscriptname - 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