Method Object:ToPlayer [-] [+]

Attempts to convert the Object to a Player.

If the Object is not a Player, returns nil.

Synopsis

player = Object:ToPlayer()

Arguments

None.

Returns

Player player

The Object as a Player, or nil.

Generated on
© 2010 - 2024 Eluna Lua Engine