[Include] Single player skillbar include V1.0
#1

Single player skillbar include V1.0


What is it?

It is an simple include that recreates in a very similar way the GTA San Andreas single player skill bars.


Functions
pawn Code:
SetSkillForPlayer(playerid, text[], time, newvalue, oldvalue) // Create a skill bar for player that appears for a certain time (in seconds) and with the derived values in percentage


Configuration
The include is easily configurable, just open the include and at the top of the code you will see the configuration defines with comments.



Suggestions and bugs
Feel free to leave suggestions for the next version and bug report. I'll try to keep this include updated as new ideas or bugs to be fixed appear.



Video demonstration (Without sound)
[ame]http://www.youtube.com/watch?v=Eg36zC21XEo[/ame]


Credits
F_Ferrazini for help me create the textdraws.


Download
Pastebin
http://pastebin.com/5kARuj81


I hope you guys enjoy it and sorry for my bad english
Portuguese version: https://sampforum.blast.hk/showthread.php?pid=2820788#pid2820788
Reply
#2

Really nice!
Reply
#3

nice, good job.
Reply
#4

Nice, you should make it a bit smaller in terms of height though so it looks much like the real thing.
Reply
#5

was very good if in 0.4a you can use the original thing of GTA SA :P

Nice Job
Reply
#6

Thank you for the comments guys!

Quote:
Originally Posted by Emmet_
View Post
Nice, you should make it a bit smaller in terms of height though so it looks much like the real thing.
I will try improve it. Thank you for the suggestion.


Quote:
Originally Posted by PT
View Post
was very good if in 0.4a you can use the original thing of GTA SA :P

Nice Job
I agree with you, would be nice have a native function to do it.
Reply
#7

Good job!!
Reply
#8

Really nice, I love it. Good job.
Maybe I'll make a system based on this for my server, thanks for the idea.
Reply
#9

Really nice, keep it up!
Reply
#10

Good idea !! Thank's

+1
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)