Hello
I need some help with db.query in LUA. I'm looking for a db.query that updates a players column when it's enabled or disabled.
For example.
table = players
column = test
/test on = If a player executes this talkaction I want that his/hers column sets to 1 (enabled)
/test off = If a player executes this talkaction I want that his/hers column sets to 0 (disabled)
Thanks in advance!
I need some help with db.query in LUA. I'm looking for a db.query that updates a players column when it's enabled or disabled.
For example.
table = players
column = test
/test on = If a player executes this talkaction I want that his/hers column sets to 1 (enabled)
/test off = If a player executes this talkaction I want that his/hers column sets to 0 (disabled)
Thanks in advance!