Jump to content

onClientVehicleStartEnter - Problem


Recommended Posts

Can you write the whole function here please?

here

addEventHandler("[color=#FFBF00]onClientVehicleStartEnter[/color]",root, 
    [color=#0080BF]function[/color](player,seat,door) 
        [color=#FF0000]cancelEvent()[/color] 
    [color=#0080BF]end[/color] 
) 
  

Link to comment

Yeah, It only lock vehicles that was made by clientside file.

Even the freeroam cars, admin panel cars , if it was created via client side, then it will be locked, else if it was made server side, it won't be locked.

I tested it and results were:

Some cars are locked/cant be entered and others can be.

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...