mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +00:00
Added message when player attempts to store boat he doesn't own
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user