Jump to content

[QUESTION] about Vehicle_Interaction_System_v2


Yeleha

Recommended Posts

Posted (edited)

Hey and welcome to the Forums!

In the server side (vis_server.lua) on line 15 is where this can be done.
Replace the line with:

if (source) and (door) and not (isPedInVehicle(source)) then

It should prevent the interactions if the player is in a vehicle.

Edited by SpecT
  • Patrick changed the title to [QUESTION] about Vehicle_Interaction_System_v2
  • 4 weeks later...
Posted

I have a different problem now, when I have my in-game mouse visible, the door can still be opened/closed and I would need a fix for that.

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