My query was a bit
redundant. After a few searches, I came across this statement in SQLite's FAQ:
Quote:
A column declared INTEGER PRIMARY KEY will autoincrement.
|
I used SQLite before (in Python), but (weirdly) I never used a column of the type
INTEGER, therefore never running across this problem. Despite that, I still cannot find the database file. Should I create a
scriptfiles folder?
EDIT: If I (re)create the "scriptfiles" folder, the database file is created, but I must run powershell/cmd as administrator (or set sampctl.exe to always run as administrator).
--
defines.pwn is inside a folder named [B]accounts[B] (renamed from
core), in which all things regarding authentication and account management are part of. So
defines.pwn will have the necessary definitions used in the whole
accounts folder. Say I have another folder called
vehicles — I'd also have a
defines.pwn in there. This seems like a good way to organize my workspace because I'm working alone — and this structure was adopted from an older project I started with another guy who is fairly experienced, so I believe it works. Despite this, you can count on me taking a look at the project you linked because I'm sure it's worth the look and something will be learnt.
Cheers. I changed
modules to
gamemodes.