The SAvatar class refers a single player avatar active within the scene. This only contains active players with a valid network connection, and does not include NPCs.
Returns the players current username (note: this can be changed by players for a small fee)
Returns the players current title
Returns the players user ID, please note if you store these, this is a 'long' value not a 'int'.
Returns a reference to the players GameObject
Detaches the avatar from whatever it may be attached to (only works for the player avatar), including chairs, vehicles and so forth.
Attaches the player to the target game object, keeping the avatar fixed in its current position/rotation relative to the target object (e.g. for use in Vehicles)