15.12.2013, 17:36
(
Last edited by kreison; 25/07/2014 at 07:29 PM.
)
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