Jump to content

Not understanding error


Desaster

Recommended Posts

No offence, but are you even trying to understand what it means? It is really obvious. MTA has the nicest debugging I've ever seen, it doesn't get much more foolproof than this.

1) It shows you the line where the error/warning was encountered. In this case, Line 18. (Use a program like Notepad++ to see Line Numbers)

2) It tells you what is wrong. In this case, it expected a vehicle pointer - a vehicle element, but received something else or nothing(nil). Thus, it does not know what to do. See setTrainSpeed for information.

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