Added message when player attempts to store boat he doesn't own

This commit is contained in:
ElPumpo
2018-08-08 21:08:12 +02:00
parent 2eab7e866f
commit 2dd7e39bcb
+4
View File
@@ -68,6 +68,10 @@ ESX.RegisterServerCallback('esx_boat:storeVehicle', function (source, cb, plate)
['@owner'] = GetPlayerIdentifiers(source)[1],
['@plate'] = plate
}, function (rowsChanged)
if rowsChanged == 0 then
print(('esx_boat: %s attempted to store an boat they don\'t own!'):format(GetPlayerIdentifiers(source)[1]))
end
cb(rowsChanged)
end)
end)