View Single Post
  #1  
Old 06-08-2008, 03:22 AM
Stryke Stryke is offline
Scripter
Join Date: Apr 2008
Posts: 157
Stryke is an unknown quantity at this point
Showing blood effects only once

To check if a player has been hit:

PHP Code:
//#CLIENTSIDE
function onActionProjectile()
{
  
triggerserver("weapon"this.name"BloodFX"player.1.25 random(0,0.5), player.random(0,1.5));

To make blood effects

PHP Code:
function onActionserverside()
{
  if (
params[0] == "BloodFX")
  {
    
temp.putnpc2(params[1], params[2], "");
    
temp.i.join("bloodfx");
  }

If I do this, the blood effects appear as much times as the amount of players there are on the level. How do I get around this to only show once? The blood effect is a GANI.
Reply With Quote