forked from Simnation/Main
Update server.lua
This commit is contained in:
parent
5dcd987ab7
commit
c7d1a3e4bf
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,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(json.encode(mods))
|
||||||
if test_vari ~= nil then
|
if test_vari ~= nil then
|
||||||
for k, v in pairs(test_vari) do
|
for k, v in pairs(test_vari) do
|
||||||
if v.plate ~= mods.plate then
|
if v.plate ~= mods.plate then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue