forked from Simnation/Main
Update server.lua
This commit is contained in:
parent
8aacce219b
commit
d1dd69d136
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ local test_vari = {}
|
||||||
RegisterServerEvent('mh_garage:setMods')
|
RegisterServerEvent('mh_garage:setMods')
|
||||||
AddEventHandler('mh_garage:setMods', function(mods)
|
AddEventHandler('mh_garage:setMods', function(mods)
|
||||||
print(mods.plate)
|
print(mods.plate)
|
||||||
if test_vari[mods.plate] = true then
|
if test_vari[mods.plate] == true then
|
||||||
Print("Fahrzeug hat bereits ein Eintrag")
|
Print("Fahrzeug hat bereits ein Eintrag")
|
||||||
else
|
else
|
||||||
MySQL.query("SELECT mods FROM player_vehicles WHERE plate = ?", {mods.plate}, function(rs)
|
MySQL.query("SELECT mods FROM player_vehicles WHERE plate = ?", {mods.plate}, function(rs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue