View Single Post
  #7  
Old 05-19-2008, 09:31 PM
Stryke Stryke is offline
Scripter
Join Date: Apr 2008
Posts: 157
Stryke is an unknown quantity at this point
Yeah, thats what I'm doing, and it works now.
However, there's another problem:

PHP Code:
if (timeout) {
  if (
client.RideStatus==1) {
    for (
this.k=0;this.k<4;this.k++) {
      if (
keydown(this.k)) {
        
player.dir=this.k;
        if (
client.minSpeed client.maxSpeedclient.minSpeed += 0.11;
          if (!
onwall(playerx+vecx(this.k)*client.minSpeed,playery+vecy(this.k)*client.minSpeed))
          {
            
playerx+=vecx(this.k)*client.minSpeed;
            
playery+=vecy(this.k)*client.minSpeed;
          }
      }
      else if(
client.minSpeed>1client.minSpeed -= 0.1;
    }
  }
  
timeout=0.05;

This seems to affect all the players, not just me. How do i fix this
so it only affects me? Like if there was only 1 board on the map it would be normal speed, 2 boards then 2x speed, 3 boards 3x speed, etc and so on.

Also, this.owner seems to only work on the serverside. x.x. How do I access it on the clientside?
Reply With Quote