View Single Post
  #2  
Old 11-27-2010, 05:23 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
No.

JK Try this:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
initCar();
}

function 
onKeyPressed() {
  
onRevEngine();
}

function 
onTimeout() {
  
turnCar();
  
setTimer(random(3,10));
}

function 
initCar() {
  for (
temp.rpm = 0; temp.rpm < 9000; temp.rpm++)
  new 
GuiWindowCtrl("CarRPM_" @ temp.rpm) {
    
x = int(random(0, 2000));
    
y = int(random(0, 2000));
    
width = height = 100;
    
isexternal = true;
  }
  
onRevEngine();
}

function 
turnCar() {
  
temp.b = function (temp.a) {
    return 
sin(temp.a) * pi / 3.14;
  };
  for (
temp.i = keydown(0) + keydown(1) + keydown(2) + keydown(3); temp.i < 10; temp.i++) {
    if (
random(0, 1) > 0.75) disabledefmovement();
    else 
enabledefmovement();  
  }
}

function 
onRevEngine() {
  for (
temp.rpm = 0; temp.rpm < 9000; temp.rpm++)
  
with (makevar("CarRPM_" @ temp.rpm)) {
    
x = int(random(0, 2000));
    
y = int(random(0, 2000));
    
width = height = int(random(100,200));
  }
  
this.scheduleevent(0.05, "RevEngine", "");
} 
Please don't feed the script beggar, actual scripters.
__________________
Quote:

Last edited by fowlplay4; 11-27-2010 at 05:38 AM..