Jeep Won't Freeze

Hi Guys,

I am currently trying to code a gamemode and I want to get a jeep to freeze and not move. I have tried several things such as:

  • SetVelocity()
  • GetPhysicsObject():SetVelocity()
  • SetPos() constantly through a timer
  • EnableMotion()
  • SetCollisionBounds()

and none of these seem to work.

Please can someone help me? I have been going at this for days now.

Cheers

Krunder

Jeeps can’t be freezed due to linux crashes or something.

So how do I stop it from moving when a player trys to drive it?

Dont.

Just stop the player from entering it all together.

I want him to be in the vehicle, but not too be able to move until my countdown has finished

[editline]28th January 2013[/editline]

Thanks anyway though :slight_smile:

[lua]
Entity:Fire(“HandBrakeOn”)
Entity:Fire(“HandBrakeOff”)
[/lua]