This event is triggered when a player has successfully selected a character and joined the server. It provides an opportunity to execute custom logic or initialize player-specific data based on the chosen character. The event is fired on both the client and server side
This event is triggered when a player has created a new character for the server. Example Usage Case: Someone might use this to create/select a first spawn location for a character.
Client Side
initNewCharacter
Copy
AddEventHandler("vorp:initNewCharacter", function() print("New Character Created")end)
This function retrieves all components in the player’s cache. It is useful for updating or modifying the player’s appearance based on the components stored in the cache.