PySAMP icon indicating copy to clipboard operation
PySAMP copied to clipboard

WIP: Updating and reformatting existing docstrings.

Open dennorske opened this issue 7 months ago • 0 comments

Also adding new docstrings. Updated two methods in Player module with breaking changes

Breaking Changes:

  1. Player.get_target_player: Returns a Player object if the player is targeting another player. Returns None otherwise. Before, this was returning an integer which represented the playerid.
  2. Player.get_target_actor: Returns an Actor object if the player is targeting an actor. Returns None otherwise. Before, this was returning an integer.

dennorske avatar Jul 14 '24 20:07 dennorske