mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
Added some modules + Experimental SQL auto-migration stuff
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
MySQL.ready(function()
|
||||
|
||||
print('[esx] ensuring migrations')
|
||||
|
||||
TriggerEvent('esx:migrations:ensure', function(module)
|
||||
ESX.EnsureMigrations(module)
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
AddEventHandler('esx:migrations:ensure', function(register)
|
||||
register('base')
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx:onPlayerJoined')
|
||||
AddEventHandler('esx:onPlayerJoined', function()
|
||||
if not ESX.Players[source] then
|
||||
|
||||
Reference in New Issue
Block a user