18.01.2017, 19:39
Don't know the gamemode but if the database is properly normalized then you need a join to retrieve data from more than one table simultaneously. Or send an extra query (not recommended).
PHP код:
SELECT c.*, p.name FROM Car c WHERE plate = 'xyz' INNER JOIN Player p ON c.CarOwner = p.id