GetBanTime: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 12: Line 12:


===Returns===
===Returns===
* Returns a ''string'' of the banning time in the format of '''HH:MM:SS''' (Hours, minutes, seconds correspondingly)
* Returns a string of the banning time in the format of '''HH:MM:SS''' (Hours, minutes, seconds correspondingly)
* Returns ''false'' if invalid arguments are specified if there was no banning time specified for the [[ban]].
* Returns '''false''' if invalid arguments are specified if there was no banning time specified for the [[ban]].


==Example==
==Example==

Revision as of 18:00, 23 January 2009

This function will return the banning time of the specified ban pointer.

Syntax

string getBanTime ( ban theBan )

Required Arguments

  • theBan: The ban in which you wish to retrieve the time of.

Returns

  • Returns a string of the banning time in the format of HH:MM:SS (Hours, minutes, seconds correspondingly)
  • Returns false if invalid arguments are specified if there was no banning time specified for the ban.

Example

--TODO

See Also