[FilterScript] Bleeding - 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] Bleeding (
/showthread.php?tid=607399)
Bleeding -
Correlli - 19.05.2016
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:
Re: Bleeding -
Bolex_ - 19.05.2016
Svidja mi se
I like it very nice
Re: Bleeding -
BiosMarcel - 19.05.2016
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
Re: Bleeding -
Kimble - 19.05.2016
Is this going to leave puddles in the air if the player jumps?
Anyway good job.
Re: Bleeding -
BiosMarcel - 19.05.2016
By the way , solidfiles doesn't seem to work for firefox
Re: Bleeding -
Noris - 19.05.2016
Good for trolling thanks !!
Re: Bleeding -
Crayder - 19.05.2016
Quote:
Originally Posted by Kimble
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.
Re: Bleeding -
BiKode - 19.05.2016
Like it alot, nice work man!
Re: Bleeding -
Correlli - 20.05.2016
Thanks.
Quote:
Originally Posted by [Bios]Marcel
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
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.