Jump to content

Car locking


Drakath

Recommended Posts

I noticed that event handler 'onVehicleStartEnter' has an integer 'seat'. So I decided to make a script to lock only the driver's seat. But how do I define the seat? I can't use 'getPedOccupiedVehicleSeat' because the player would be already in the car.

I guess this wouldn't work:

if seat == 0 then

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...