mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-29 01:01:31 +00:00
FIX - handle unavailable ESX integrations
This commit is contained in:
@@ -2,6 +2,10 @@ if Bridge.Framework.Name ~= "esx" then
|
||||
return
|
||||
end
|
||||
|
||||
if GetResourceState("es_extended") ~= "started" then
|
||||
error("[sky_phone] ESX is configured, but es_extended is not started.")
|
||||
end
|
||||
|
||||
local ESX = exports["es_extended"]:getSharedObject()
|
||||
|
||||
local function get_player(source)
|
||||
|
||||
Reference in New Issue
Block a user