Resource Integration
If you wish to integrate fake plate checks into your other resources (example: garage) you will have to edit you SQL queries like the following example
--Current
local Result = MySQL.query.await('SELECT * FROM player_vehicles WHERE plate = ?', {plate})
--Replacement
local Result = MySQL.query.await('SELECT * FROM player_vehicles WHERE plate = ? OR fakeplate = ?', {plate, plate})
This will retrieve your vehicle properly from the database with a fakeplate installed
Last updated