IsBan: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 9: Line 9:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool isBan ( var theValue )
bool isBan ( ban theBan )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 17:44, 3 June 2014

Accessories-text-editor.png Script Example Missing Function IsBan needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
ADDED/UPDATED IN VERSION 1.4 :

This function checks if the passed value is valid ban.


Syntax

bool isBan ( ban theBan )

Required Arguments

  • theValue: The value to check

Returns

Returns true if the value is a ban, false otherwise.

Example

--TODO

See Also