Thread: Player Position
View Single Post
  #3  
Old 12-26-2008, 07:33 AM
[email protected] zeektheman2@hotmail.com is offline
SirZeek
Join Date: May 2008
Posts: 37
zeektheman2@hotmail.com is on a distinguished road
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.04++)
      {
        if (
keydown(i))
        {
          if (!
canmove(i) && !player.ani.starts("sword"))
          {
            
player.+= vecx(i)* 0.5;
            
player.+= vecy(i)* 0.5;
          }
        }
      }
   
showTrail();
  }else
   
hideimgs200 206 );  

  if ( 
client.infected.heal )
  {
   
showani(1player.getmapx(player.level.name) * 64player.getmapy(player.level.name) * 64player.dir"zeek_effect_heal"); 
   
changeimgvis(1,3);
  }else
   
hideimg(1);
}   


setTimer(0.005); 
Reply With Quote