Jump to navigation Jump to search
This function sets a new unban time of a given ban using unix timestamp (seconds since Jan 01 1970).
bool setUnbanTime( ban theBan, int theTime )
OOP Syntax Help! I don't understand this!
- theBan: The ban of which to change the unban time of
- theTime: the new unban time
Returns true if changed successfully, false otherwise.
addCommandHandler("banMe", function (player) local ban = banPlayer(player) setUnbanTime(ban, 500) end )