Thread: flying
View Single Post
  #1  
Old 11-09-2009, 05:57 PM
Liberated Liberated is offline
not doing alot
Liberated's Avatar
Join Date: Feb 2008
Posts: 1,366
Liberated has a spectacular aura about
flying

i made this flying/hovering script, but i need help with 1 thing.
I need to turn the blocking off all objects off, and i need to turn the walking sound off.
Is there any way to accomplish this? This is the script.
PHP Code:
//#CLIENTSIDE
function onKeyPressed(code,key)
{
  if( 
key == "m" )
  {    
    if(
player.== 10)
    { 
      
player.chat="max altitude reached!";
    }
    else 
    {
      
player.z+= 0.5;
      if(
player.0)
      {
      
replaceAni("walk""idle");
      }      
    }   
    }   
  else if( 
key == "n" )
  {
    if(
player.0)
    {
      
player.z-= 0.5;
      if(
player.== 0)
      {
        
replaceAni("walk""walk"); 
      }     
    }
  }

__________________
Quote:
Originally Posted by Tigairius View Post
I promise when I get rich I'll send you an iPhone. I'll send everyone an iPhone.
Reply With Quote