wrote 2 weeks of code for a custom heist, all good locally. uploaded to my server, server crashes, can't figure out why.
after 6 hours of debugging i realize my fxmanifest had server_scripts (note the s) listed as just a single string instead of a table with multiple files. so only the first file was loading. the rest of my code was just... not running.
-- BAD
server_scripts 'main.lua'
-- GOOD
server_scripts {
'main.lua',
'utils.lua',
'database.lua',
}
the error message said nothing about this. just "couldn't initialize". i lost a whole afternoon to this.
posting so the next person doesn't.