SA-MP Forums Archive
[Include] Blood Screen - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Blood Screen (/showthread.php?tid=594986)



Blood Screen - UltraScripter - 26.11.2015

Hi everyone i wasnt active for a long time but im back
so hare my blood screen inc:

pics:




add the include
pawn Code:
#include <Blood_Screen>
Usage:
pawn Code:
//Types
BLOOD_TYPE_1 - BLOOD_TYPE_9

//Example
ShowPlayerBloodScreen(playerid, BLOOD_TYPE_1-9);
link:

pastebin: http://pastebin.com/4Vrg13d4

Blood_Screen2
Updated include
Updates:
pawn Code:
use textdraw not playertextdraw
removed red balls
fixed colors
batter timer
new usage:
pawn Code:
#include <Blood_Screen2>

Available Blood types: BLOOD_TYPE_1 - BLOOD_TYPE_3

ShowPlayerBloodScreen(playerid, bloodtype);
link: http://pastebin.com/PEZVText
.


Re: Blood Screen - Pottus - 26.11.2015

You have two fuck ups in this

1.) No need for player textdraws
2.) You don't need to create the textdraws every time just create once then hide/show as needed


Re: Blood Screen - UltraScripter - 26.11.2015

1 I know just used to player text
2 didn't think about it thx


Re: Blood Screen - PT - 26.11.2015

That ball's make this strange..


Re: Blood Screen - Riddick94 - 26.11.2015

YSF + TextDrawGetColor = Epic blood fade away effect that I have.

https://*********/x2CpYiOCHcU?t=25s

The only video I have to show this effect ^

edit://
pawn Code:
SetTimerEx("incccLowerBlood", 1000, false, "i", playerid);
    SetTimerEx("incccLowerBlood2", 1300, false, "i", playerid);
    SetTimerEx("incccLowerBlood3", 1700, false, "i", playerid);
    SetTimerEx("incccLowerBlood4", 2100, false, "i", playerid);
    SetTimerEx("incccLowerBlood5", 2500, false, "i", playerid);
    SetTimerEx("incccLowerBlood6", 4000, false, "i", playerid);
Jesus Lord savior, just look at this...


Re: Blood Screen - Vince - 26.11.2015

Quote:
Originally Posted by Riddick94
View Post
edit://
pawn Code:
SetTimerEx("incccLowerBlood", 1000, false, "i", playerid);
    SetTimerEx("incccLowerBlood2", 1300, false, "i", playerid);
    SetTimerEx("incccLowerBlood3", 1700, false, "i", playerid);
    SetTimerEx("incccLowerBlood4", 2100, false, "i", playerid);
    SetTimerEx("incccLowerBlood5", 2500, false, "i", playerid);
    SetTimerEx("incccLowerBlood6", 4000, false, "i", playerid);
Jesus Lord savior, just look at this...
Reminds me of this quote:

"It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter." - Nathaniel Borenstein


Re: Blood Screen - SpikY_ - 28.11.2015

Would be cool, if you remove those Bloody Balls lel.


Re: Blood Screen - DoDler - 28.11.2015

I see red blood cells in first pic


Re: Blood Screen - UltraScripter - 28.11.2015

Updated


Re: Blood Screen - SecretBoss - 28.11.2015

Creating a textdraw whenever ShowPlayerBloodScreen is called is not a good idea, you can create your textdraw(s) OnGameModeInit and just hook it.


Re: Blood Screen - UltraScripter - 28.11.2015

Okay but its good for new scripters.


Re: Blood Screen - SecretBoss - 28.11.2015

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
Okay but its good for new scripters.
Sure, but you must always try to do the best for your scripts


Re: Blood Screen - UltraScripter - 28.11.2015

Ok