Jump to content

Useful function: var_dump


driver2

Recommended Posts

I would not advise to use console for debugging just like the guy did on FreeStateProject server with old spawning script... It's sent to everyone and in case you forget about 1 line, your players' console will fill up with your debug messages. Use it only if you have want to output lots of lines (eg. for loop) so that you can see every line and not missing lines in debug window.

Link to comment

You can always just deactivate the var_dump-Function or just search the script for var_dump() calls in order to get them all (every editor should have some kind of search). And you can always simply change the function to use another output method than outputConsole().

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