Progress bar? [+REP]
#1

Hello everyone, I was wondering how can I make a progress bar
something similar to the HP bar in the bottom of the screen in the video
https://www.youtube.com/watch?v=kS7MTtuIKEM
Reply
#2

Progress Bar 1.3.1
Reply
#3

Quote:
Originally Posted by Matz
Посмотреть сообщение
thanks +rep
Reply
#4

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
:O how can I use this one? any guides?
Reply
#5

Presuming it's used in the same way.
Reply
#6

Quote:
Originally Posted by Luis-
Посмотреть сообщение
Presuming it's used in the same way.
would you mind helping me with that?

PHP код:
new PlayerBar:PXta[MAX_PLAYERS] = CreatePlayerProgressBar(playerid10010055.53.20xff0000100.0BAR_DIRECTION_UP);
    
ShowPlayerProgressBar(playerid,PXta[playerid]); 
Reply
#7

Quote:
Originally Posted by Lirbo
Посмотреть сообщение
:O how can I use this one? any guides?
Just change the progress2.inc to playerprogress.inc or change the #include <playerprogress> to #include <progress2> , it have more functions and features , Thanks to SOUTHCLAW
Reply
#8

Quote:
Originally Posted by Youssefree
Посмотреть сообщение
Just change the progress2.inc to playerprogress.inc or change the #include <playerprogress> to #include <progress2> , it have more functions and features , Thanks to SOUTHCLAW
But I don't have any playerprogress.inc
Reply
#9

Just open pawn and paste the include's code inside it then save it as .inc inside the includes folder. You can name it whatever you want while saving. Then simply #include it in your main script. It's that simple.

Ps: In case you ask how to position the bar properly on the screen, I don't think there's any bar editor created but I use a textdraw editor to fetch the proper position for it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)