[Include] Blood Screen
#1

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
.
Reply
#2

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
Reply
#3

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

That ball's make this strange..
Reply
#5

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...
Reply
#6

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
Reply
#7

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

I see red blood cells in first pic
Reply
#9

Updated
Reply
#10

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

Okay but its good for new scripters.
Reply
#12

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
Reply
#13

Ok
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)