Update server.lua

This commit is contained in:
Miho931 2025-06-09 17:32:19 +02:00
parent 8aacce219b
commit d1dd69d136

View file

@ -4,7 +4,7 @@ local test_vari = {}
RegisterServerEvent('mh_garage:setMods')
AddEventHandler('mh_garage:setMods', function(mods)
print(mods.plate)
if test_vari[mods.plate] = true then
if test_vari[mods.plate] == true then
Print("Fahrzeug hat bereits ein Eintrag")
else
MySQL.query("SELECT mods FROM player_vehicles WHERE plate = ?", {mods.plate}, function(rs)