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.