-
-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1441 from esx-framework/dev
ESX 1.11.0 Release
- Loading branch information
Showing
108 changed files
with
5,105 additions
and
2,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"Lua.diagnostics.globals": [ | ||
"MySQL", | ||
"GetPlayerTimeOnline", | ||
"SetEntityOrphanMode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,17 +78,3 @@ This code of conduct and its related procedures also applies to unacceptable beh | |
## 10. Contact info | ||
|
||
[email protected] | ||
|
||
## 11. License and attribution | ||
|
||
The Citizen Code of Conduct is distributed by [Stumptown Syndicate](http://stumptownsyndicate.org) under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/). | ||
|
||
Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy). | ||
|
||
_Revision 2.3. Posted 6 March 2017._ | ||
|
||
_Revision 2.2. Posted 4 February 2016._ | ||
|
||
_Revision 2.1. Posted 23 June 2014._ | ||
|
||
_Revision 2.0, adopted by the [Stumptown Syndicate](http://stumptownsyndicate.org) board on 10 January 2013. Posted 17 March 2013._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,30 @@ | ||
exports("getSharedObject", function() | ||
return ESX | ||
end) | ||
Core = {} | ||
Core.Input = {} | ||
Core.Events = {} | ||
|
||
ESX.PlayerData = {} | ||
ESX.PlayerLoaded = false | ||
ESX.playerId = PlayerId() | ||
ESX.serverId = GetPlayerServerId(ESX.playerId) | ||
|
||
ESX.UI = {} | ||
ESX.UI.Menu = {} | ||
ESX.UI.Menu.RegisteredTypes = {} | ||
ESX.UI.Menu.Opened = {} | ||
|
||
ESX.Game = {} | ||
ESX.Game.Utils = {} | ||
|
||
CreateThread(function() | ||
while not Config.Multichar do | ||
Wait(100) | ||
|
||
AddEventHandler("esx:getSharedObject", function() | ||
local Invoke = GetInvokingResource() | ||
error(("Resource ^5%s^7 Used the ^5getSharedObject^7 Event, this event ^1no longer exists!^7 Visit https://documentation.esx-framework.org/tutorials/tutorials-esx/sharedevent for how to fix!"):format(Invoke)) | ||
if NetworkIsPlayerActive(ESX.playerId) then | ||
ESX.DisableSpawnManager() | ||
DoScreenFadeOut(0) | ||
Wait(500) | ||
TriggerServerEvent("esx:onPlayerJoined") | ||
break | ||
end | ||
end | ||
end) |
Oops, something went wrong.