RU/removeBan
From Multi Theft Auto: Wiki
| |
This page requires local translation. If page will remain not translated in reasonable period of time it would be deleted. |
This function will remove a ban specified by the ban pointer.
Contents |
Syntax
Required Arguments
- theBan: The ban to be removed.
Optional Arguments
NOTE: When using optional arguments, you must supply all arguments before the one you wish to use. For more information on optional arguments, see Optional Arguments.
- responsibleElement: The element that is responsible for removing the ban element. This can be a player or the root (getRootElement()).
Returns
Returns true if the ban was removed succesfully, false if invalid arguments are specified.
Example
--TODO