SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 19/06/2016, 07:59 AM   #1
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,490
Reputation: 263
Default Blood on taking damage

Blood on taking damage

Information about script
Working time: 15 minutes
Textdraws: Global = 2 and Players = 1
Indentation: Proper (Some downloads may have some indentation messed up)
Scripted by: AliScripter
Script status: Made from scratch.
Script type: Simple
Script includes: ZCMD and default SA-MP include.
How script works: if you take damage, it will show you blood (a red textdraw) and automatically will hide it in seconds specified in the script (HIDE_SECONDS) and you can enable/ disable it by default (DEFAULT_STATUS), It also shows the damage taken by the player.

Downloads
Pastebin.Ca - Version 1.0
Pastebin.Ca - Version 1.1
Pastebin.Ca - Version 1.2

Images


Update Log
Code:
Version 1 - Released - 19 June 2016 - Base Version 1.1 - Released - 19 June 2016 - Added custom time and enable\ disable cmds. Version 1.2 - Released - 19 June 2016 - Added damage taken textdraw (player textdraw)
Bugs
None, if you find any, please PM me or reply here.

Last edited by Logic_; 19/06/2016 at 09:20 AM.
Logic_ is offline   Reply With Quote
Old 19/06/2016, 08:10 AM   #2
Luicy.
Banned
 
Join Date: Dec 2014
Location: Sweden, Skövde
Posts: 831
Reputation: 79
Default Re: Blood on taking damage

Simple, a better idea would be to use switch for the damage, case 0 .. 25: adjust the color. etc
Luicy. is offline   Reply With Quote
Old 19/06/2016, 08:10 AM   #3
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,490
Reputation: 263
Default Re: Blood on taking damage

Quote:
Originally Posted by Meller View Post
Simple, a better idea would be to use switch for the damage, case 0 .. 25: adjust the color. etc
Will add it.
Logic_ is offline   Reply With Quote
Old 19/06/2016, 08:28 AM   #4
HydraHumza
Gangsta
 
HydraHumza's Avatar
 
Join Date: Oct 2014
Posts: 651
Reputation: 130
Default Re: Blood on taking damage

Nice Work Ali. Keep it up +REP
__________________
Quote:
Originally Posted by Kalcor View Post
The fact is, I am right. And if you think I'm wrong, you are wrong.
HydraHumza is offline   Reply With Quote
Old 19/06/2016, 08:43 AM   #5
MBilal
Gangsta
 
MBilal's Avatar
 
Join Date: May 2013
Posts: 825
Reputation: 57
Default Re: Blood on taking damage

Neat work looks good keep it up Bro.
MBilal is offline   Reply With Quote
Old 19/06/2016, 08:03 PM   #6
DanyTovar
Little Clucker
 
DanyTovar's Avatar
 
Join Date: Jan 2016
Location: Venezuela
Posts: 22
Reputation: 0
Default Re: Blood on taking damage

Nice +1
DanyTovar is offline   Reply With Quote
Old 20/06/2016, 12:06 PM   #7
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,490
Reputation: 263
Default Re: Blood on taking damage

Bump. Any suggestions? I am planning to add Meller's suggestion.
__________________
Premium quality and reasonable pricing game Server hosting

Last edited by Logic_; 21/06/2016 at 07:52 AM.
Logic_ is offline   Reply With Quote
Old 20/06/2016, 12:22 PM   #8
darkdevil
Little Clucker
 
darkdevil's Avatar
 
Join Date: Jan 2016
Location: India!
Posts: 43
Reputation: 0
Default Re: Blood on taking damage

Good work my boy
__________________
cheapest Premium SAMP Server

https://www.elites-host.com -- click me if you have heart
darkdevil 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
GetPlayerHealth after taking damage Supermaxultraswag Scripting Help 2 24/01/2015 03:19 PM
[Tutorial] Blood in screen and damage amount when shot by a player ThePhenix Tutorials 5 20/08/2014 10:39 PM
Damage Taking bug? lMontez Scripting Help 24 24/12/2013 07:20 PM
Player not taking Damage? Zex Tan Bug Reports 5 21/08/2013 08:44 AM
[FilterScript] Blood & Damage Amount Shadow_ Filterscripts 10 26/02/2012 11:49 PM


All times are GMT. The time now is 02:38 PM.


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