SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 07/05/2019, 12:28 PM   #1
YouShootIDodge
Big Clucker
 
Join Date: May 2019
Posts: 84
Reputation: 15
Default progress2.inc

I need the download link for that include.
YouShootIDodge is offline   Reply With Quote
Old 07/05/2019, 12:34 PM   #2
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,176
Reputation: 73
Default Re: progress2.inc

This is a scripting helping section,not a searching, but I created a search link with parameters.
https://forum.sa-mp.com/search.php?s...5003166&pp=100
I hope this will help you a bit, good luck.
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Old 07/05/2019, 12:50 PM   #3
jasperschellekens
High-roller
 
jasperschellekens's Avatar
 
Join Date: Dec 2016
Location: Holland
Posts: 1,168
Reputation: 165
Default Re: progress2.inc

I needed progress bars the other day and stumbled onto this: https://pastebin.com/SL0Fu4er
Works perfect.

May you need it, small example of how I used the include:
PHP Code:
    new PlayerBar:HungerBar[MAX_PLAYERS];

    
HungerBar[playerid] = CreatePlayerProgressBar(playerid547.5060.0059.004.900xF1D300FF100.0);
    
ShowPlayerProgressBar(playeridHungerBar[playerid]);
    
SetPlayerProgressBarValue(playeridHungerBar[playerid], GetPlayerHunger(playerid));

    
DestroyPlayerProgressBar(playeridHungerBar[playerid]); 
__________________
Undead Wasteland Roleplay | Visit website
The year is 1996. San Andreas is a wasteland ruled by the undead. the once so glorius landscape of San Andreas, is now a shattered decayed place that is only a vague memory of the world as we used to know it.
jasperschellekens is offline   Reply With Quote
Old 07/05/2019, 12:55 PM   #4
YouShootIDodge
Big Clucker
 
Join Date: May 2019
Posts: 84
Reputation: 15
Default Re: progress2.inc

Quote:
Originally Posted by jasperschellekens View Post
I needed progress bars the other day and stumbled onto this: https://pastebin.com/SL0Fu4er
Works perfect.

May you need it, small example of how I used the include:
PHP Code:
    new PlayerBar:HungerBar[MAX_PLAYERS];

    
HungerBar[playerid] = CreatePlayerProgressBar(playerid547.5060.0059.004.900xF1D300FF100.0);
    
ShowPlayerProgressBar(playeridHungerBar[playerid]);
    
SetPlayerProgressBarValue(playeridHungerBar[playerid], GetPlayerHunger(playerid));

    
DestroyPlayerProgressBar(playeridHungerBar[playerid]); 
Thanks
YouShootIDodge is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Include error- progress2 RudyCzeczen Scripting Help 6 25/11/2018 07:36 PM
ERROR Progress2 Daynox12 Scripting Help 8 19/05/2018 05:24 PM
[Ajuda] Não consigo compilar ''progress2'' Coruja Português/Portuguese 2 17/09/2016 11:33 AM
Progress2.inc warning fahlevy Scripting Help 4 14/02/2016 02:37 PM
Need Help with Progress2.inc SpikY_ Scripting Help 8 03/08/2015 01:22 PM


All times are GMT. The time now is 07:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.