View Single Post
  #4  
Old 06-08-2008, 03:51 AM
Stryke Stryke is offline
Scripter
Join Date: Apr 2008
Posts: 157
Stryke is an unknown quantity at this point
Sure.

PHP Code:
function onCreated()
{
  
drawoverplayer();
  
layer=2;
  
setshape(1,1,1);
  
this.show();
  
sleep(2);
  
this.destroy();
}

//#CLIENTSIDE
function onCreated()
{
  
drawoverplayer();
  
layer=2;
  
this.int int(random(0,3)+1);
  
setcharani("bulletfx",NULL,NULL,NULL,9,5,4,NULL);
  
setshape(1,1,1);

The 3 first parameters are the bullet effects when it hits a wall.
The next 3 are the blood effects.. The 7th param is the sound effect.

All the params = index of sprite/sound.
Reply With Quote