Commit Graph
4633 Commits
Author SHA1 Message Date
0xDEMXN dfa26844c5 fix(locales): update invalid command to fit notifications 2022-02-18 16:58:57 +01:00
FuraXx 42190bb64a Merge pull request #109 from 0xDEMXN/notifs
feat: standardize notifications and get rid of chat messages
2022-02-18 15:51:39 +01:00
NRTnarathip 6601d80c4f Fix Error: esx_dmvschool arithmetic operator
change vector3 - var type table
to vector3 - vector3
and Config.DrawDistance it never using
just add implement the "config DrawDistance"
2022-02-18 20:34:16 +07:00
0xDEMXN 1edf290943 feat: standardize notifications and get rid of chat messages 2022-02-18 12:00:01 +01:00
0xDEMXN e4d8fd8d1e feat: use first char group for new chars 2022-02-18 11:51:30 +01:00
NRTnarathip b7510ea948 Fix Error: esx_garage when player enter to zone
https://cdn.discordapp.com/attachments/817059034699399259/944153115534458880/unknown.png
because registerType instance garage it call a function when "script instance" running setup script.
we should wait script "instance" loaded or setup successfully 
and we will be able to execute the "register instance type" function
2022-02-18 15:51:06 +07:00
Mycroft 084dc23e50 Update README.md 2022-02-18 01:03:44 +00:00
Mycroft 6cfaf7dea1 Merge pull request #102 from NRTnarathip/patch-7
Update: ESX Bankerjob Add SQL
2022-02-17 23:49:44 +00:00
NRTnarathip 70acad9fff Update: ESX Bankerjob Add SQL
just add sql
2022-02-18 02:23:08 +07:00
Mycroft ff7a11c1db Update README.md 2022-02-17 16:56:00 +00:00
FuraXx e76e54c4f9 Merge pull request #101 from NRTnarathip/patch-4
Fix Bug: Cannot pickup weed plant
2022-02-17 17:07:54 +01:00
NRTnarathip ee8f995b3e Fix Bug: Cannot pickup weed plant
cannot pickup weed plant 
because distance from player coords and weedplant object 
the distance is too small 
should be 1.5 not 1.0
2022-02-17 22:34:31 +07:00
FuraXx e46ae322c0 Merge pull request #100 from thelindat/patch-1
fix(ambulancejob): return callback when removing items
2022-02-17 15:59:03 +01:00
Linden 5ef25c2f46 fix(ambulancejob): return callback when removing items
Otherwise the client event won't trigger and respawn the player
2022-02-18 01:42:26 +11:00
FuraXx 16455c8178 Merge pull request #94 from NRTnarathip/patch-5
Fix Bug: game crash when player in zone drugshop
2022-02-17 15:16:14 +01:00
FuraXx f863f0176c Merge pull request #95 from NRTnarathip/patch-6
Update: esx_drugs add marker config
2022-02-17 15:12:20 +01:00
FuraXx f53ce285a1 Merge pull request #99 from overextended/pr/ox
feat: setup basic support for ox inventory
2022-02-17 15:07:49 +01:00
Linden 7edbd07ae7 feat: setup basic support for ox inventory
Fairly low effort to get the the basics working.
2022-02-18 00:22:49 +11:00
NRTnarathip a443e2166f Update Add Marker Config
just add marker config for path NRTnarathip
2022-02-17 15:51:08 +07:00
NRTnarathip 316c705343 Fix Bug: game crash when player in zone drugshop
Optimize, Add feture marker zone drugshop, Fixed the issue of pressing open menu not working when press key backspace for cancel ui
2022-02-17 15:45:45 +07:00
Mycroft fef6cd0182 Merge pull request #93 from popo8720/main
Fix: error on properties markers thread
2022-02-17 00:32:28 +00:00
Mycroft 6436bb2826 Merge pull request #86 from overextended/pr/ox
Update 1.5.0: Fixes across all of ESX Legacy
1.5.0
2022-02-17 00:04:10 +00:00
Mycroft 1c7a71b1d6 Fix (ESX Whitelist): Change GetActivePlayers to GetPlayers 2022-02-16 23:52:58 +00:00
popo8720 2e51c24ce0 Fix: error on properties markers thread 2022-02-16 20:09:14 -03:00
Mycroft d85f32bd38 Merge pull request #92 from NRTnarathip/patch-3
Fix Error esx_lcustom vector3 - type table
2022-02-16 13:01:49 +00:00
Mycroft 96e8574371 Merge pull request #89 from Slypher/main
Fix non-existent whitelist table in sql file
2022-02-16 12:59:38 +00:00
NRTnarathip 98d788dea4 optimize little
like
'''
if isDead then
    cb(true)
else
    cb(false)
end
''''
2022-02-16 18:09:17 +07:00
NRTnarathip f81cdcdfea optimize a little
change args of GetEntityCoords()
From function PlayerPedId() To variable playerPed
2022-02-16 14:59:52 +07:00
NRTnarathip e6f9d90478 Fix Error esx_lcustom vector3 - type table
error when coords - v.Pos
type vector3 - table

it be should vector3 - vector3
2022-02-16 14:55:13 +07:00
NRTnarathip d7af3ca999 Fix Bug isDead == 1 it be should isDead == true
The variable type of "isDead" is a boolean, not a number.
2022-02-16 14:34:26 +07:00
Lucas Lima e63bb43305 fix non-existent whitelist table in sql file 2022-02-15 21:38:09 -03:00
Linden fca8927b38 revert(server): foreign keys
Can result in some errors. Still keeping the other optimisations from previous commit (namely adjusting all identifier fields to the correct varchar length).
2022-02-14 20:18:59 +11:00
Linden 0278f26c17 fix(esx/client): delay esx:onPlayerJoined event
Race conditions were introduced due to a mix of FiveM's updated scheduling and the swap to oxmysql responding faster than the client can load.

This should alleviate the issue, though a more solid solution should be found.
2022-02-14 18:20:22 +11:00
Linden 843f395253 fix(datastore/server): decode JSON string 2022-02-14 16:14:42 +11:00
Linden d5661c1a9a refactor: use function syntax
Better and less confusing.
2022-02-14 16:05:14 +11:00
Linden 956324063e chore: update fxmanifests
1.5.0
2022-02-14 15:34:14 +11:00
Linden b82b3246a4 feat(esx/client): add a function to search for items
Deprecate the usual method of manually iterating through 'ESX.GetPlayerData().inventory'.
2022-02-14 15:30:51 +11:00
Linden a1cfd5f84e fix(esx/server): race condition
Use await on queries during startup for less nesting / callback hell, and to delay the paycheck and save intervals from starting too early.
2022-02-14 15:29:42 +11:00
Linden 31b7252101 fix: undefined variables, args, indexes, etc. 2022-02-14 14:17:54 +11:00
Linden b72e1e0b04 refactor: update native references
Many natives have updated / more accurate names.
2022-02-14 13:42:43 +11:00
Linden f81683751d fix: nonsense Wait times
Tick time is ~15ms, so anything that needs to occur on-frame should use Wait(0)
2022-02-14 13:16:23 +11:00
Linden 110446860b fix: increase distance checks for drugs and holdup 2022-02-14 13:13:34 +11:00
Linden 23fd0289c6 fix(sql): remove hard-set table charset and collation
Remove some instances of collation mixing.

includes:
fix(sql): don't allow NULL identifier in billing, user_licenses, and user_parkings
2022-02-14 13:08:03 +11:00
Mycroft 707db9353e Merge pull request #85 from popo8720/main
ES locales
2022-02-13 19:40:07 +00:00
popo8720 d86bc855e3 ES locales 2022-02-12 20:19:22 -03:00
Mycroft 652de97857 Merge pull request #79 from baguscodestudio/main
Fix identity not showing up to wait NUI until ready
2022-02-12 16:05:32 +00:00
Mycroft 72d324a35e fix: Change Table to vector3 2022-02-12 16:00:01 +00:00
Bagus Gandhi 9ae99f1dde Fix identity not showing up to wait NUI until ready 2022-02-12 15:59:25 +07:00
Linden b7c521c8e7 feat(server): database optimisations
Limited testing, but works in a fairly clean ESX environment. Sets up foreign keys in the database to allow for easy and optimised character deletion.

Foreign keys will only be set where owner and identifier columns exist, the field cannot be NULL and uses VARCHAR.
2022-02-12 06:03:23 +11:00
Linden 72450dfcd6 refactor: swap to oxmysql
ESX officially uses oxmysql with new syntax, so follow suite.
2022-02-12 05:58:45 +11:00