Visible Legs lets players see the body of their character when they look down in first person. It draws a clientside copy of the local player's model that follows their animation, with the head and the arms moved out of view. Nothing is drawn in observer mode, while the player is not drawn (as when they are vanished), in third person or while the player is dead.
Summary
Hooks
Methods
Hooks
Implements hook PlayerModelChanged
Removes the local player's legs model when the local player's model changes. It is recreated with the current model the next time the legs are rendered.
Parameters
- target Player the player whose model has changed
- _new_model String new model path
- _old_model String previous model path
Draws the local player's legs model in first person, following their animation. Skipped while in observer mode, not drawn, in third person, dead or looking above the horizon.
Methods
Creates the clientside legs model of the player, replacing the previous one, and stores it in client.legs. The upper body bones are moved out of view.
Parameters
- client Player normally the local player