Stop incompatible resources (see description)

Automaticly stop resources that

- a) not compatible with ESX, for example spawnmanager
- b) does the same as esx does, but what esx probably does better
This commit is contained in:
ElPumpo
2020-04-13 17:50:20 +02:00
parent 2b58041abb
commit 238bcae7c0
3 changed files with 44 additions and 4 deletions
-3
View File
@@ -19,9 +19,6 @@ function getSharedObject()
end
MySQL.ready(function()
SetMapName('San Andreas')
SetGameType('Roleplay')
MySQL.Async.fetchAll('SELECT * FROM items', {}, function(result)
for k,v in ipairs(result) do
ESX.Items[v.name] = {