Skip to content

Releases: joaopauloarj/PlayerBar

v1.2.2 – Improvements to sampctl compatibility

Choose a tag to compare

@joaopauloarj joaopauloarj released this 31 Jul 11:08

Fix

  • Improvements regarding compatibility with sampctl

v1.2.1 – Internal improvements

Choose a tag to compare

@joaopauloarj joaopauloarj released this 30 Jul 14:29

Warning

Known issue

This version has a compatibility issue with sampctl.
Please update to the latest version.

Changed

  • Background colours are now initialized when a PlayerBar is created instead of being generated during rendering.
  • Simplified the rendering pipeline by removing unnecessary background colour checks.
  • Reduced internal rendering overhead while preserving the existing API and visual behavior.

v1.2.0 - Added support for Legacy SA-MP

Choose a tag to compare

@joaopauloarj joaopauloarj released this 30 Jul 13:20

Warning

Known Issue

This release contains a rendering issue affecting background colours.
Please upgrade to the latest version.

Added

  • Added compatibility with legacy SA-MP while maintaining full open.mp support.
  • Introduced compatibility (wrappers) for legacy PlayerTextDraw functions.

Changed

  • Unified internal PlayerTextDraw handling across open.mp and legacy SA-MP.
  • Improved rendering logic for cross-platform compatibility.

Fixed

  • Fixed border rendering after PlayerTextDraw recreation on legacy SA-MP.
  • Minor internal cleanup and formatting improvements.

v1.1.1 - Rendering refinements

Choose a tag to compare

@joaopauloarj joaopauloarj released this 29 Jul 13:31

Warning

Known issue

This version has a compatibility issue with sampctl.
Please update to the latest version.

Fixed

  • Adjusted TextDraw offsets for more accurate PlayerBar rendering.
  • Improved border and background alignment.
  • Minor rendering refinements for horizontal bars.

v1.1.0 – Customizable background colours

Choose a tag to compare

@joaopauloarj joaopauloarj released this 29 Jul 12:30

Warning

Known issue

This version has a compatibility issue with sampctl.
Please update to the latest version.

What's New

Added

  • Added support for customizable background colours.
  • New API:
    • PlayerBar_SetBackgroundColour()
    • PlayerBar_GetBackgroundColour()
  • Background colour now defaults to the bar colour with 50% opacity.

Improved

  • Refined rendering offsets for all four fill directions.
  • Improved border and background alignment.
  • More consistent fill positioning across horizontal and vertical bars.
  • Better visual accuracy for different bar sizes.

Notes

This release is fully backward compatible. Existing code will continue to work without modification. Users can optionally customize the background colour of each bar using the new API.

v1.0.0 - Initial release

Choose a tag to compare

@joaopauloarj joaopauloarj released this 28 Jul 23:28

Warning

Known issue

This version has a compatibility issue with sampctl.
Please update to the latest version.

Initial stable release of PlayerBar.

Features

  • Four fill directions (Up, Down, Left and Right)
  • Lightweight and optimized implementation
  • Progress2-inspired API
  • Compatible with open.mp
  • Per-player textdraw progress bars
  • MIT licensed