Jump to content
  • 0

Unable to enter vehicles.


Wulffe

Question

Posted

Hello out there.

I have a strange problem with my MTA.

I have my own server, where i do some scripting, and stuff.

When I login I am able to enter vehicles, but after some time Im not able to enter any vehicles. When I press F or G, nothings happens, like the vehicle is not near me.
I have tried to restart the resources, but it does not help. The only way I can enter, is relogging, then all works fine.

Im not sure if it is a server problem, or what it is. 

I hope a bright head can help me out here :-)

5 answers to this question

Recommended Posts

  • 0
Posted

Maybe those vehicles have been created on client side.

Information from wiki createVehicle.

Note: Vehicles (and other elements) created client-side are only seen by the client that created them, aren't synced and players cannot enter them. They are essentially for display only.

  • 0
Posted
1 hour ago, Gourmet. said:

Is there a possibility that there's cancelEvent() called?

I have found out, that when I enter an interior, the vehicles become unable to enter, if I restart the interior res, I can enter the vehicles again, until I enter a interior :/

I have checked the interior system, and found no cancelevent there could do this :(

55 minutes ago, Fist said:

Maybe those vehicles have been created on client side.

Information from wiki createVehicle.

Note: Vehicles (and other elements) created client-side are only seen by the client that created them, aren't synced and players cannot enter them. They are essentially for display only.

All server vehicles are server side created.
 

  • 0
Posted
On 2/5/2017 at 16:42, Gourmet. said:

Well, I'll edit this in a minute, but is that your script, or did you downloaded it? @Wulffe

The script is my own, and you was right, it was a cancelevent - But is was called in my interior script, I have no idea why I had placed it at the first place.
Might have been a test to see some other function :P

Thanks for the help, Im quite sure I never would had thought about a simple cancelevent :D

  • Like 1

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