Character:ban - brianhang/nutscript2 GitHub Wiki
Description
Character:ban(time, reason)
This server function prevents this character from being used in the future for a given amount of time.
Parameters
| Name | Description |
|---|---|
time |
A number for how long to have the character banned in seconds. If this is not a number, then the ban is permanent. |
reason |
An optional string for why the character was banned. |
Side Effects
- The character can no longer be used.
- The CharacterBanned hook is called.