nut.char - brianhang/nutscript2 GitHub Wiki
Description
The character library creates functions that make it easy to store roleplay related information for characters. This includes data such as character names, models, jobs, etc... The library makes it easy to create new characters so your gamemode can have players with multiple characters or single characters if desired. To see more about characters, you should see the Character object documentation.
Fields
| Name |
Description |
list |
A list of all loaded character objects. |
vars |
A list of all character variables and their properties. |
Functions
Extensions
| Name |
Description |
| Player:getChar |
Returns the active character for a player. |
Notes
- Use the
CHARACTERS global variable for accessing the characters table in database queries.
- Use the
CHAR_DATA global variable for accessing the character data table in database queries.