Skip to content

Explaining Functions

Diogo edited this page Feb 9, 2025 · 1 revision

DestroyPlayerCircleProgressAll

  • Will destroy all of the player's circles

DestroyPlayerCircleProgress

  • Will destroy a specific circle of the player

CreatePlayerCircleProgress

  • It will create a circle for the player
  • Return: -1 (invalid) or Circle ID
  • Parameters:
⚠️ It takes exactly the middle of the circle, however it doesn't have a system to create it exactly where you want it. One tip is to create a small textdraw there, get its position and then adjust the position manually until you find the perfect point.
- Float:pos_x = Posição X da tela
- Float:pos_y = Posição Y da tela

- max_value = Maximum number that the circle will overcome, you can enter any number you want. 100 is generally used for life, charges, etc...
- color = Main color
- background_color = ....
- Float:size = Circle Size
- Float:thickness = Circle Thickness
- Float:polygons = The polygons. The default is up to you, however you can customize it. If you want to know more about it, go to the definers tab.

UpdatePlayerCircleProgress

  • Update your circle's progress

Clone this wiki locally