Jump to content

Changing values in SQL Help


KevinC

Recommended Posts

Posted (edited)

Somehow I could not  

 

function Kevcarlos()
  executeSQLQuery("UPDATE accounts SET test=?", 1)
end
addCommandHandler("keep", Kevcarlos)

pElW8a.png

Edited by KevinC
Posted (edited)

Is that 'accounts' table in the internal SQLite registry (../mods/deathmatch/databases/global/registry.db) or a separate file, or even on a remote/local MySQL server? If its not in the internal registry, I don't know why you're using executeSQLQuery.

Edited by MrTasty

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