Ok i tried what you gave to me but theres a problem, it works on the first level of the gmap but after, you leave that level to another on the gmap the ani doesnt appears no more.
PHP Code:
//#CLIENTSIDE
function onTimeOut()
{
if ( client.infected.speed )
{
if ( client.mud.punching ) return;
if ( client.casting ) return;
for(temp.i = 0; i < 4; i ++)
{
if (keydown(i))
{
if (!canmove(i) && !player.ani.starts("sword"))
{
player.x += vecx(i)* 0.5;
player.y += vecy(i)* 0.5;
}
}
}
showTrail();
}else
hideimgs( 200 , 206 );
if ( client.infected.heal )
{
showani(1, player.x + getmapx(player.level.name) * 64, player.y + getmapy(player.level.name) * 64, player.dir, "zeek_effect_heal");
changeimgvis(1,3);
}else
hideimg(1);
}
setTimer(0.005);