manusoftar

Speed limiter script

Aug 14th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. if (Player.Character.isInVehicle()) {
  2.                 Vehicle vh = Player.Character.CurrentVehicle;
  3.                 if (Exists(bp)) {
  4.                     if (chash == vh.GetHashCode()) {
  5.                         bp.Delete();
  6.                     }
  7.                 }
  8.                 if (speedlimit == true) {
  9.                     if (vh.Speed > 20) {
  10.                         vh.Speed -= 1;
  11.                     }
  12.                 }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment