Jump to content

griff316

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

460 profile views

griff316's Achievements

Vic

Vic (3/54)

1

Reputation

  1. Thanks all of your help, its solved. I written a car script 1 years ago, wich is prevent car blow and I forgot that I written a line to in wich turns the engine on when vehicle health is more then the min value. One more time thanks, its my fault, sorry.
  2. I'll try what you say @LoPollo. And the same thing, if Im in the vehicle or not and I turns off the engine it automatically turns on.
  3. When the engine turns off, immediately i hear the basic engine start sound and the engine turns on. It happens every second time. So it detect, but the engine didnt stop.
  4. I tried all of your codes, but the problem is same. Im thikning maybe a basic resource in mta, or similar. I dont know. Any idea?
  5. No matter how i try, its not working... function engine (player, command) if isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) local state = getVehicleEngineState(vehicle) setVehicleEngineState(vehicle, not state) else return false end end addCommandHandler("engine", engine)
  6. Hey guys! I've a problem with setVehicleEngineState. When I use it to turn off the engine, the engine immediately turns on and I don't know why. I hope you can help me. (Sorry for my bad english:S)
×
×
  • Create New...