SetUnbanTime: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{Server function}} | {{Server function}} | ||
{{Needs_Example}} | {{Needs_Example}} | ||
{{New items| | {{New items|3.014|1.4| | ||
This function | This function sets a new unban time of a given [[ban]] using unix timestamp (seconds since Jan 01 1970). | ||
}} | }} | ||
Line 12: | Line 12: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''theBan:''' The [[ban]] | *'''theBan:''' The [[ban]] of which to change the unban time of | ||
*'''theTime:''' the new unban time | *'''theTime:''' the new unban time | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' | Returns ''true'' if changed successfully, ''false'' otherwise. | ||
==Example== | ==Example== |
Revision as of 13:24, 24 November 2015
Script Example Missing Function SetUnbanTime needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function sets a new unban time of a given ban using unix timestamp (seconds since Jan 01 1970).
Syntax
bool setUnbanTime( ban theBan, int theTime )
Required Arguments
- theBan: The ban of which to change the unban time of
- theTime: the new unban time
Returns
Returns true if changed successfully, false otherwise.
Example
--TODO