-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(es_extended/client/functions.lua) e (es_extended/client/modu…
…les/streaming.lua) Big refactor to client functions with no breaking changes (allegedly). Except for ESX.Game.SpawnObject that returns the object synchronous if no callback provided. (Just a new behaviour, keeps working as used to) Added new functions: · ESX.DrawMissionText · ESX.Game.GetShapeTestResultSync ** · ESX.Game.RaycastScreen ** ** Last two are used to improve the performance of ESX.Game.GetVehicleInDirection It already uses a Synchronous Shape Test Result less performant than solution provided. In streaming functions, ff no callback provided, functions will return the first argument synchronously. if not, first argument will be passed to the callback. Cache addon resource states instead of checking it every time a function is called
- Loading branch information
1 parent
65590f5
commit 42ba7f2
Showing
2 changed files
with
108 additions
and
165 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
Oops, something went wrong.