14.11.2009, 22:29
Quote:
|
Originally Posted by Seif_
I don't understand.
|
If that's true, then make it such that when your speedboost code is called (in OnPlayerKeyStateChange or whereever) it first works out the players speed (in the same way as with your speedo) and compare it to the maximum speed you want and then take action based upon that; for example, first work out their speed and store it in a variable speed then do something like this:
pawn Код:
if(speed > 900) return;

