Skip to content

player

Client-side
Server-side
Shared

Element category: Entity

The player class represents pedestrians controlled by clients. A player element is created when a client connects to the server and destroyed when that client quits. Players cannot be created or destroyed otherwise.

OOP Methods and Variables

  • player:getName(...) Variable: .name

See Also

Element Functions
Reference