No need for vault, just make your MySQL stuff SQLite compatible.
Other stuff:
- Use formatex where applicable
- No SteamId support?
PHP Code:
for(id = 0; id < MAXPLAYERS; id++)
->
PHP Code:
for(id = 1; id < MAXPLAYERS; id++)
(also you should store get_maxplayers() for this)
- There are multiple cases where you should store the output of functions instead of calling them multiple times in a row.
- Use a global buffer for query formatting.
- Why do you pass id's as a string when using ThreadQuery?
Not only is this completely unnecessary (you never get even close to this length) but it is also impossible due to engine limitations. The max for MOTD is fixed around 1500-1600 I believe.
__________________