1
0
Fork 0
forked from Simnation/Main

resources/[jobs]/[civ]/mh_jobgarage/server/s_function.lua aktualisiert

This commit is contained in:
Miho 2025-06-23 19:28:24 +02:00
parent 7d0410b025
commit 3bf524bea7

View file

@ -1,5 +1,5 @@
function CheckVehicleOwner(id, plate) function CheckVehicleOwner(id, plate)
MySQL.query.await("SELECT * FROM player_vehicles WHERE citizenid = ? and plate = ?", {id, plate}, function(rs) MySQL.query("SELECT * FROM player_vehicles WHERE citizenid = ? and plate = ?", {id, plate}, function(rs)
if rs ~= nil then if rs ~= nil then
return true return true
else else