[FilterScript] Bleeding
#1

General:

This is a simple filterscript which will leave little puddles of blood behind player. The filterscript contains the core functions and two commands which will allow you to trigger the bleeding ("/bstart [amount of blood puddles]", "/bstop"). It's up to you to trigger the bleeding when player gets hurt and disable it after some time.



Credits:

- Incognito for streamer plugin,
- ****** for foreach/iterator include and GetXYInFrontOfPlayer function,
- ZeeX for ZCMD command processor.



Video:

http://www.youtube.com/watch?v=dR9vFjKicpo



Functions and Definitions:

Code:
SetPlayerBleeding(playerid, bleeds);
StopPlayerBleeding(playerid);
Code:
#define MAX_PLAYER_BLEEDS (3)
#define PLAYER_BLEEDING_RANGE (1.5)

Download:

Reply
#2

Svidja mi se

I like it very nice
Reply
#3

Anyone here who likes solidfiles? No , ok, remove it :O
It is just the .pwn , so i would recommend using pastebin in that case.

Funny script tho
Reply
#4

Is this going to leave puddles in the air if the player jumps?

Anyway good job.
Reply
#5

By the way , solidfiles doesn't seem to work for firefox
Reply
#6

Good for trolling thanks !!
Reply
#7

Quote:
Originally Posted by Kimble
View Post
Is this going to leave puddles in the air if the player jumps?

Anyway good job.
Yes... D:

Using ColAndreas would make this a thousand times better. There wouldn't be blood in the air and the blood would align with the ground instead of sticking out of it.
Reply
#8

Like it alot, nice work man!
Reply
#9

Thanks.

Quote:
Originally Posted by [Bios]Marcel
View Post
Anyone here who likes solidfiles? No , ok, remove it :O
It is just the .pwn , so i would recommend using pastebin in that case.
http://pastebin.com/2SM4c5v4

Quote:
Originally Posted by Kimble
View Post
Is this going to leave puddles in the air if the player jumps?
No, there are "IsPlayerFalling", "IsPlayerJumping" and "IsPlayerInWater" functions to prevent that. First two will check the player's animation and the water function will check if player's position is < 1.0 and if the player is not in interior and virtual world. Not the perfect check, but it might be good enough.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)