Post: Blood FX when someone gets killed code??
08-14-2015, 11:02 AM #1
akse
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Could someone tell me the code for when someone gets killed? if i use eb and kill someone it doesnt show up.. would be awesome if you could also tell me where i need to put it in my gsc project..


thanks for the help!
(adsbygoogle = window.adsbygoogle || []).push({});
08-14-2015, 11:05 AM #2
iiiCenTurY
Gym leader
level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");
08-14-2015, 11:12 AM #3
akse
Do a barrel roll!
Originally posted by iiiCenTurY View Post
level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");


thanks! where do i put this do you know that?
08-14-2015, 11:13 AM #4
iiiCenTurY
Gym leader
Originally posted by akse View Post
thanks! where do i put this do you know that?


put this in init()
and then this in your eb when the guy gets killed: playFx(level._effect["blood"], self getTagOrigin("pelvis"));
08-14-2015, 12:01 PM #5
akse
Do a barrel roll!
wrong codes i linked
08-14-2015, 12:09 PM #6
iiiCenTurY
Gym leader
Originally posted by akse View Post
is this right ???

init()
{
level thread onPlayerConnect();
level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");
}


this one is in monitorkill() i dont know if thats right because im new to coding.. and i tried it the menu doesnt freeze or anything but the blood still doesnt show up when i kill the enemy with eb.

{
self notify("NewLoc");
self thread radiusShot("MOD_RIFLE_BULLET","pelvis",2147483600,500);
self.buttonReleased = false;
playFx(level._effect["blood"], self getTagOrigin("pelvis"));
}
}
}


do it like this:

    bleedDeath()
{
playFx(level._effect["blood"], self getTagOrigin("pelvis"));
}


and in the actual eb code:

    player thread bleedDeathHS();
08-14-2015, 12:24 PM #7
akse
Do a barrel roll!
Originally posted by iiiCenTurY View Post
do it like this:

    bleedDeath()
{
playFx(level._effect["blood"], self getTagOrigin("pelvis"));
}


and in the actual eb code:

    player thread bleedDeathHS();


where does the bleedDeath() one go? to init() ?
08-14-2015, 12:38 PM #8
iiiCenTurY
Gym leader
Originally posted by akse View Post
where does the bleedDeath() one go? to init() ?


just anywhere in your menu
08-14-2015, 12:44 PM #9
akse
Do a barrel roll!
Originally posted by iiiCenTurY View Post
just anywhere in your menu


alright thanks man. but this one still needs to be in init()?
level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");
08-14-2015, 01:12 PM #10
iiiCenTurY
Gym leader
Originally posted by akse View Post
alright thanks man. but this one still needs to be in init()?
level._effect["blood"] = loadfx("impacts/fx_flesh_hit_body_fatal_exit");


yes..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo