Jump to content

PeacefulDreams

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by PeacefulDreams

  1. Looks slick! Reminds me a bit of the style Habbo uses, but it's also very stylish looking within MTA
  2. Heya! I created a sort of 'global' mysql resource to avoid having to establish a MySQL connection per resource. Using the MTA MySQL module, as I'm more comfortable with not using callbacks, I created a script that exports the following functions ( exports.mysql: ) connect, close, query and getHandler() to retrieve the handler. For some reason, whatever it is I do, all functions return a userdata type variable instead of a result while the script runs perfectly fine when I run queries within the resource. Is there something I need to switch on or some sort of division to what variables can be shared and what not? They certainly aren't local, but aren't accessible outside of the script either.
×
×
  • Create New...