ScriptEvent:getCachedClassName
From Mod Wiki
Parameters
None.
Result
Supported By
idPlayer
Comments
- If the player does not have a pending playerClass, the result will be an empty string.
Functionality
Returns the name of the player's pending playerClass, which they will spawn as at the next spawn.