-
Notifications
You must be signed in to change notification settings - Fork 75
ESX and non-ESX versions of Doors script
License
MissBehavin/celldoors
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
# celldoors
ESX and non-ESX versions of Doors script originally created by Darklandz and modified by Miss_Behavin
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 'client.lua'
server_script 'server.lua'
``
to:
``
client_script 'ESX/client.lua'
server_script 'ESX/server.lua'
``
Cheers and have fun.
About
ESX and non-ESX versions of Doors script
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published