Jump to content

Debugging resources


tomozj

Recommended Posts

There is a feature which allows you to debug your resources, and have the output show in an alternate 'chat' box, i.e. the debug output.

However, would it be possible to rip this from MTA and make it into a standalone appplication, so we can test our scripts for small errors without having to load MTA?

Link to comment

In the main menu, press F8 and type "window" (w/o the quotes), MTA will be windowed [the resolution should be set to a lower resolution then the one of your screen], you can edit the file while testing it, so you don't have to restart MTA. Also, syntax errors should show the error when starting the recource, and other errors usually require a player to trigger the code containing them, thus needing you to run MTA.

Link to comment
  • Recently Browsing   0 members

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