IPlayer APISolved


I've tried to get the player's line of sight but there is no hope with data provided by the IPlayer interface.

Should I use RustPlugin instead of CovalencePlugin or is there an alternative to get the player LOS ?

Thank you.

EDIT: Solved in the Discord (joined after posting this message)

The IPlayer is a universal player object, it won't always have everything game-specific objects have. As you figured out though, the BasePlayer for Rust is accessible via IPlayer.Object.

Locked automatically