Process bar with a timer
#1

Hello,

In my roleplay script I am implenting a point-system and I want that as soon a player types /capture and the timer starts to go (this is all scripted already), that a big processbar in the middle of the screen appears, which is full at the start but goes empty after 10 seconds.

Anybody who can help me?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=113443
Reply
#3

Yes but I am talking about attaching a bar to a timer. For example: the time between typing /capture and the message you're trying to capture is 10 seconds, I want that in those 10 seconds the bar reaches from full to empty, and then disappears.
Reply
#4

bump
Reply
#5

pawn Код:
SetProgressBarValue(barid, GetProgressBarValue(barid)+10);
Use it in a timer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)