mysql_tquery(db, "SELECT * FROM cars", "LoadCarData");
// Under OnGameModeInit
EDIT: NVM: Your script isn't able to connect to the database, check the credentials again.
I tried the method you said, and it's still the same result. I don't think it's the database, though. When the script runs, it prints if it connected to the db sucessfully, and it does so right now.