Thank you! I would recommend for people that use [Release] [ESX] /transfervehicle (Simple script addon to transfer your vehicles) to log it aswell.
My way of usage:
CREATE TABLE IF NOT EXISTS `transfer_vehicle` (
`Sender` varchar(50) DEFAULT NULL,
`Plate` varchar(50) DEFAULT NULL,
`Reciever` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Vehicle Transfer Information';
MySQL.Async.execute('INSERT INTO transfer_vehicle (Sender, Plate, Reciever)VALUES (@Sender, @Plate, @Reciever) ',
{
['@Sender'] = mySteamID,
['@Plate'] = plate,
['@Reciever'] = targetSteamID
}
)
I just made it, havent tried it yet.