Commit Graph

4207 Commits

Author SHA1 Message Date
Linden c12e03210a improvement(esx): Report the number of saved players and time spent 2021-07-06 00:26:18 +10:00
Linden 8dcc826ce2 Merge remote-tracking branch 'upstream/main' into main 2021-07-05 22:56:47 +10:00
ESXCrackhead 290b25d72f Merge pull request #7 from thelindat/main
fix & improvement(society & esx): Correct getOnlinePlayers behaviour; update the old enumerate functions
2021-07-05 07:12:58 -05:00
ESXCrackhead 2877e6a592 Merge pull request #6 from FBFezz/main
Fixed bug and added config
2021-07-05 07:12:08 -05:00
ESXCrackhead f840942b76 Merge pull request #5 from steveski/main
Optimised player save data function
2021-07-05 07:10:49 -05:00
Linden e286bc8602 fix(society): Correct getOnlinePlayers behaviour
Actually prevent multiple loops from running at once
2021-07-05 18:02:45 +10:00
Fezz 4f7e66561f Fixed caution not working if set to 0 2021-07-05 08:49:36 +01:00
Fezz d05615d04a Update main.lua 2021-07-05 08:48:52 +01:00
Fezz 23a484db51 Added config for optionalneeds 2021-07-05 08:46:17 +01:00
Fezz 46116f4906 added config for drunk 2021-07-05 08:45:25 +01:00
Linden ac5e7256de improvement(esx): Replace entity iterator with GetGamePool natives 2021-07-04 05:01:09 +10:00
Linden e6c93505a2 Merge remote-tracking branch 'upstream/main' into main 2021-07-04 04:33:02 +10:00
ESXCrackhead c193c35330 Merge pull request #4 from thelindat/main
feat(esx_ambulancejob): Add support for esx_ambulancejob:revive server event through txAdmin console
2021-07-03 10:50:22 -05:00
Stephen York 093066486b Optimised player save data function 2021-07-03 16:55:07 +10:00
Linden 974382fece Merge branch 'esx-framework:main' into main 2021-07-03 13:53:57 +10:00
Linden 26a8f176b0 improvement(ambulancejob): Support revive through txAdmin 2021-07-03 13:20:10 +10:00
ESXCrackhead d48f493e54 feat(legacy): Update to latest Legacy versions
Consolidated Legacy resources
2021-07-02 17:15:23 -05:00
ESXCrackhead e9fcee98ca feat(v1-final): Upload v1-final consolidated repositories.
- All v1-final resources from ESX Framework Github
2021-07-02 16:28:15 -05:00
Linden 073c2072b3 chore(example): Provide more information 2021-07-03 02:56:35 +10:00
Linden ace2718a49 chore(esx): Update readme and version 2021-07-03 02:56:08 +10:00
Linden 959e62a50e improvement(esx): Allow retrieval of ESX.Players with specific data 2021-07-03 02:55:53 +10:00
Linden f06fa6210f chore(example): Provide more information 2021-07-03 02:26:41 +10:00
Linden 47a4f90d81 chore(esx): Update readme and version 2021-07-03 02:14:02 +10:00
Linden c54b2d5db0 fix(realestate): Corrected function 2021-07-03 01:48:50 +10:00
Linden 4ee9ec3a11 improvement(policejob): Use the new arguments for GetExtendedPlayers() 2021-06-30 21:51:58 +10:00
Linden e5c0b24f63 improvement(society): Use the new arguments for GetExtendedPlayers() 2021-06-30 21:51:47 +10:00
Linden c8d23d4673 improvement(holdup): Use the new arguments for GetExtendedPlayers() 2021-06-30 21:51:25 +10:00
Linden c1d9fbed05 fix(status): Reference the correct table 2021-06-30 21:24:28 +10:00
Linden b931e33b63 improvement(esx): Allow retrieval of ESX.Players with specific data 2021-06-30 21:24:28 +10:00
Linden c5611f47b4 fix(ambulance+police): Put more than 1 person into a vehicle 2021-06-30 01:57:37 +10:00
Linden d64f782d72 tweak(esx): Return GetExtendedPlayers with index instead of playerId 2021-06-29 21:39:55 +10:00
Linden 7b5a3559cd fix(multichar): Enable and and right arrow keys while loop is active
Due to hidePlayers now waiting until a skin has been set before disabling, these keys are now required.
2021-06-29 21:29:39 +10:00
Linden ab21737644 fixes(multichar): Spawn improvements; fix nil value; 2021-06-29 21:29:27 +10:00
Linden f3369b6660 fixes(service+police): Police can properly go on duty; remove player from service when dropping 2021-06-29 21:29:12 +10:00
Linden 5ea3cc1a2f tweak(status): Store status in the ESX.Players table that exists locally 2021-06-29 21:28:35 +10:00
Linden 8f6fd761cc feat: Include esx_multicharacter 2021-06-28 20:43:07 +10:00
Linden 470dba7468 improvement(esx/client): Send both new and old value of playerdata with event; properly set job/grade display for hud
- Makes the event a viable alternative to esx:setJob as we can compare if the value has changed.

- Formatting for job/grade would not update when going to or from unemployed
2021-06-28 19:47:26 +10:00
Linden 77a4349a83 improvements(boilerplate): Rename; add extra information and examples 2021-06-28 19:05:02 +10:00
Linden 105e6c9b8a fix(society): Fix xPlayer loop and callbacks 2021-06-28 19:03:06 +10:00
Linden de88a93d99 improvement+fix(status): Store status data locally for performance 2021-06-28 16:49:29 +10:00
Linden c10720e26c fix: Correction to xPlayer loops 2021-06-28 16:48:13 +10:00
Linden 5e41c24feb fix(ambulancejob): Disable spawnPlayer export
- Fixes compatibility for players running basic-gamemode or maps
2021-06-28 16:36:13 +10:00
Linden a17b44b1e7 fix(esx): Disable autospawning
- Fixes compatibility for players running basic-gamemode or maps
2021-06-28 16:35:08 +10:00
Linden bb581f9b6c Merge remote-tracking branch 'esx_multicharacter/master' 2021-06-27 03:43:12 +10:00
Linden 11dc502acc tweak(client): Always wait 200ms after esx_menu_default has started 2021-06-26 13:54:54 +10:00
Linden 482139aa4a fix(server): Display the correct job/grade for each character 2021-06-26 13:44:56 +10:00
Linden 104479eaab feat: Update all resources to version legacy
- Resources updated to use `@es_extended/imports.lua` instead of calling ESX manually

- Replaced all xPlayer loops with ESX.GetExtendedPlayers()

- Reverted NUI chunking for esx_menu_default

- Performance improvements for several resources

- Added events and checks for the player to be loaded for several resources

- Changed all PlayerData tables to use ESX.PlayerData
2021-06-26 13:33:59 +10:00
Linden e9885a22f2 improvement(server): Changed method to retrieve ESX.Jobs; do not define grade if unemployed; use ESX import for server 2021-06-26 05:30:57 +10:00
Linden 26b1a6856b fix(client): Set the player heading when moving to character selection 2021-06-26 05:19:56 +10:00
Linden e3113ab7f9 improvement(esx/client): Send both new and old value of playerdata with event; properly set job/grade display for hud
- Makes the event a viable alternative to esx:setJob as we can compare if the value has changed.

- Formatting for job/grade would not update when going to or from unemployed
2021-06-26 03:49:21 +10:00