-
Notifications
You must be signed in to change notification settings - Fork 7
Functions
Alf Müller edited this page Apr 22, 2018
·
3 revisions
There are new functions to easily handle the new custom classes.
CLASS_NAME: the name of the custom class
CLASS_TABLE: the role data of the custom class (see CLASSES)
This function should never be used/called just for SERVER or CLIENT (keep it outside)! With the help of this method, you can add custom classes simply!
This function should be used INSTEAD of Player:SetCustomClass(CLASS_INDEX)!
RETURNS: bool
Check whether a player has a custom class
RETURNS: CLASS_TABLE
Returns the CLASS_TABLE of the custom class the player have.
Sort a table that just has CLASS_TABLEs inserted
RETURNS: CLASS_TABLE
Get the CLASS_TABLE of a custom class with the help of the class index