Jump to content

SQLite query


Twig

Recommended Posts

Posted

If anyone has any experience using the SQLite that's included please take a gander at this http://mta.pastebin.com/m4dd5301

It seems to give

[11:35:09] ERROR: Database query failed: unrecognized token: "" (SELECT money FROM saesrpg WHERE serial = ?)

What appears as a square here is actually a little smiley face icon in the server window..... Though viewed in npad++ shows as [sTX] which signifys some kind of start of text in ascii :? .

Posted

Try to this:

executeSQLQuery("SELECT money FROM saesrpg WHERE serial=".. getPlayerSerial(hitPlayer)) 

Posted

No, I'm pretty sure that doesn't work, however I've solved it in another way so there's no problem now.

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