RU/removeBan

From Multi Theft Auto: Wiki

Jump to: navigation, search
Warning.png

This page requires local translation. If page will remain not translated in reasonable period of time it would be deleted.
Please clarify what language it should be translated to.

This function will remove a ban specified by the ban pointer.

Contents

Syntax

bool removeBan ( ban theBan, [ player responsibleElement ] )

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

See Also

In other languages