# celldoors ESX versions of Doors script For ESX Compatibility, you must either add an export from esx_policejob or write additional code to create an export from policejob: ADD [esx]/esx_policejob/client/main.lua: `` function getJob() if PlayerData.job ~= nil then return PlayerData.job.name end end `` [esx]/esx_policejob/__resource.lua: `` exports { 'getJob' } `` and CHANGE in this __resource.lua: From: client_script 'ESX/client.lua' server_script 'ESX/server.lua' `` Cheers and have fun.