[FilterScript] Damage Textdraws [My first FS] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Damage Textdraws [My first FS] (
/showthread.php?tid=512603)
Damage Textdraws [My first FS] -
HitterHitman - 11.05.2014
Damage TD v1.0
Hello all its my first fs. These are just simple textdraws that appears when you get damaged. How does it look? here's a picture:
Work Time: 15 minutes.
Download:
http://pastebin.com/u246uAXe v1.0
http://pastebin.com/N3RhEefe v2.0
http://pastebin.com/5zG5gL4B v3.0 [Recommanded]
Any Suggestions? please post them here.
Special thanks to Optimas_Prime for idea. Skype: black_hawk856
Important: The script is untested.
Re: Damage Textdraws [My first FS] -
Proximo - 11.05.2014
Creative idea's you got in your mind. I love it, well done!
Re: Damage Textdraws [My first FS] -
iReacheR - 11.05.2014
For a first effort, its good!
Bad coding though, you could have used an array for those textdraws, which would have made this FS even more efficient...
Here's an improved version
http://pastebin.com/N3RhEefe
Re: Damage Textdraws [My first FS] -
HitterHitman - 11.05.2014
Quote:
Creative idea's you got in your mind. I love it, well done!
|
Thank you, I really appreciates it.
Quote:
For a first effort, its good!
Bad coding though, you could have used an array for those textdraws, which would have made this FS even more efficient...
Here's an improved version
http://pastebin.com/N3RhEefe
|
Nice idea thanks added to the main post as v2.0
Re: Damage Textdraws [My first FS] -
Pottus - 11.05.2014
There will be an issue with this dude, you need to use a variable to store your timer id's and always kill timer before setting it again.
Example.
Get shot by deagle - show damage textdraws
1 second later get shot by deagle show damage textdraws again
Now what will happen is those textdraws will hide early!
Re: Damage Textdraws [My first FS] -
HitterHitman - 12.05.2014
Quote:
Originally Posted by [uL]Pottus
There will be an issue with this dude, you need to use a variable to store your timer id's and always kill timer before setting it again.
Example.
Get shot by deagle - show damage textdraws
1 second later get shot by deagle show damage textdraws again
Now what will happen is those textdraws will hide early!
|
Yes, thanks for suggestion will add this soon.
Re: Damage Textdraws [My first FS] -
iSkate - 12.05.2014
Nice script (y)
Re: Damage Textdraws [My first FS] -
HitterHitman - 12.05.2014
Thank you.
Re: Damage Textdraws [My first FS] -
HitterHitman - 14.05.2014
Anymore suggestions?
Re: Damage Textdraws [My first FS] -
GutyMontana - 14.05.2014
Nice job!!