PHP Code:
//#CLIENTSIDE
function onCreated()
{
with(findimg(333))
{
x = player.x - 1;
y = player.y + 1;
ani = player.ani;
layer = 3;
playerlook = true;
attachtoowner = true;
rotation = pi;
red = 1;
blue = .1;
green = .2;
alpha = .3;
dir = player.dir;
}
setTimer(.05);
}
function onTimeout()
{
with(findimg(333))
{
ani = player.ani;
rotation = pi;
dir = player.dir;
}
setTimer(.05);
}