KaLu17

[pawno.pl] -> #25069

Mar 30th, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.72 KB | None | 0 0
  1.     if(FrenodeMano[coche] == 0)
  2.     {
  3.         GetVehicleParamsEx(coche, partes[0], partes[1], partes[2], partes[3], partes[4], partes[5], partes[6]);
  4.     if(partes[0] == 0)
  5.     {
  6.         //Silnik wyłączony, nie możesz go uruchomić.
  7.         return 1;
  8.     }
  9.         FrenodeMano[coche] = 1;
  10.         GetVehiclePos(coche, VehFrenoPOS[coche][0], VehFrenoPOS[coche][1], VehFrenoPOS[coche][2]);
  11.         GetVehicleZAngle(coche, VehFrenoPOS[coche][3]);
  12.         SetVehicleVelocity(coche, 0, 0, 0);
  13.         ProxDetector(30.0, pid, string_freno, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  14.         SetVehicleParamsEx(coche,VEHICLE_PARAMS_OFF, partes[1], partes[2], partes[3], partes[4], partes[5], partes[6]);
  15.         return 1;
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment