Kakarot
0fb076f07c
Typo
2021-10-13 19:30:39 -05:00
Kakarot
dddfa6b719
Merge pull request #265 from TasoOneAsia/refactor/notify-nui
...
refactor(ui/notify): Cleanup internal code & new config options
2021-10-13 18:25:34 -06:00
Taso
e719bc6569
refactor(ui/notify): Cleanup internal code & new config options
2021-10-13 20:19:36 -04:00
Kakarot
57e895de19
Merge pull request #237 from evanillaa/patch-19
...
add new weapon gta default
2021-10-12 11:03:45 -06:00
Kakarot
be4f57410b
feat(html): New Notify System
...
-Replaces old notification system but is also backwards compatible so no changes necessary
- Now allows for the use of sending a table with text and caption
- Can add as many types of notifications as wanted/needed
- Configure position and icons in app,js (google icons or fontawesome)
2021-09-28 23:39:11 -06:00
ev.vanillaa
d23e0995f3
fix " to '
2021-09-28 18:26:38 +03:00
ev.vanillaa
f6f49165da
add new weapon gta default
...
weapon_smg_mk2 https://wiki.rage.mp/index.php?title=File:Smg-mk2-icon.png
weapon_assaultrifle_mk2 https://wiki.rage.mp/index.php?title=File:Assault-rifle-mk2-icon.png
weapon_carbinerifle_mk2 https://wiki.rage.mp/index.php?title=File:Carbine-rifle-mk2-icon.png
weapon_revolver_mk2 https://wiki.rage.mp/index.php?title=File:Heavy-revolver-mk2-icon.png
weapon_doubleaction https://wiki.rage.mp/index.php?title=File:Double-action-revolver-icon.png
https://ibb.co/qNmzsKC
2021-09-28 18:18:13 +03:00
Kakarot
8a1181171c
Update functions.lua
2021-09-28 07:33:08 -05:00
Kakarot
1ce5d0e48e
Merge pull request #227 from Eralpozcan/patch-4
...
fix closestObject/closestVehicle coords
2021-09-28 06:19:37 -06:00
Kakarot
5ea1114751
Merge pull request #232 from TasoOneAsia/patch-1
...
feat(server/functions): Add GetQBPlayers() fn
2021-09-27 15:05:50 -06:00
Taso
a335196d10
feat(server/functions): Add GetQBPlayers() fn
...
A wrapper that returns an array of QB Player instances. Mainly to provide a better solution to the GetPlayers() -> GetPlayer pattern seen everywhere.
2021-09-27 16:42:32 -04:00
Eralp
567289f0e0
Post-check fix
...
Post-check fix . Fixes after the check by @AvarianKnight
2021-09-27 23:24:05 +03:00
Kakarot
adc1e9512d
Merge pull request #229 from Mojito-Fivem/main
...
refactor(debug): Replace clunky table print with Avarian's
2021-09-27 12:13:07 -06:00
Mojito-Fivem
04729ccaaa
refactor(debug): Replace clunky table print with Avarian's
2021-09-27 16:33:46 +01:00
Eralp
7bbab4ce65
visual editing
...
visual editing and fix for new build
2021-09-26 15:49:51 +03:00
Eralp
997f4b00ac
fix closestObject/closestVehicle coords
...
In the previous version we could check the coordinates. In this, we automatically get the coordinate of the player. I hadn't noticed this yesterday when I was testing it. I am attaching this fix. Available in before "Major update" version.
2021-09-26 15:44:51 +03:00
Kakarot
39b55b27fd
fix(client/functions.lua): Closest Ped
...
Scripts like qb-drugs corner selling require finding the closest ped but include a list of peds to ignore, typically your own.
2021-09-25 21:41:06 -06:00
GhzGarage
34c574daf2
fix(server/events/player): Position
...
Position was not updating on player dropped but was on player save event.
2021-09-25 18:31:28 -05:00
GhzGarage
5555cd6662
feat(client/functions.lua): Distance
...
Added second return parameter which contains distance
2021-09-25 18:06:52 -05:00
GhzGarage
7591ec6f59
Merge branch 'main' of https://github.com/qbcore-framework/qb-core into main
2021-09-25 18:04:37 -05:00
GhzGarage
f2414d0275
fix(server/commands.lua/events.lua): Perms
...
- Wrong native was used for checking ace perms which allowed all to use them. Should be resolved.
2021-09-25 18:04:35 -05:00
Kakarot
ddc396d2c9
fix(qb-core/client/functions.lua): Close Player
...
There was a mistake when replacing table.insert that caused closest player to not be found
2021-09-25 11:08:40 -05:00
GhzGarage
f07fbbcf81
Optimize chat suggestions
...
Original PR from @TassieRPCx
Just removed table.insert for performance
2021-09-25 01:00:45 -05:00
Kakarot
2b5e9929ca
Update qbcore.sql
2021-09-25 00:02:50 -05:00
GhzGarage
cfc4d863a3
Template
2021-09-24 23:57:49 -05:00
Kakarot
923f3d3a31
⚠️ Major Update ⚠️
...
- Major cleanup of all files including reformatting & notations
- Added an optional export to add to scripts as an alternative to import.lua
- Added player state to OnPlayerLoaded so no more need for isLoggedIn inside scripts
- Updated all events to the new RegisterNetEvent and got rid of unneeded handlers
- Added the ability for ACE permissions with commands
- Added two new config options for player update interval and status update
- Changed players table to use citizenid column as primary key <-- very important
- Overall sloppy code cleanup, removal of unused code, got rid of nil checks
2021-09-24 22:46:20 -06:00
Kakarot
e683b991c6
Merge pull request #206 from SamShanks1/main
...
Sets all players routing bucket to 0
2021-09-20 16:36:38 -06:00
SamShanks1
64f34af3c8
Sets all players routing bucket to 0
2021-09-20 14:15:35 +01:00
Newtonzz
7e1d19873e
Create LICENSE
2021-09-14 23:20:11 +02:00
Kakarot
1bf411eb19
Merge pull request #190 from zfbx/main
...
SQL2 error fix
2021-09-13 02:08:33 -05:00
Tony
2d2a33b1be
SQL2 error fix
2021-09-13 03:05:03 -04:00
Kakarot
e353516c7e
Merge pull request #189 from zfbx/main
...
Update SQL queries for MySQL2
2021-09-13 01:20:20 -05:00
Tony
c1eadcc827
Update SQL queries for MySQL2
2021-09-12 23:42:30 -04:00
GhzGarage
21e8c0bb92
Weird dependency problem?
2021-09-11 23:12:02 -05:00
GhzGarage
95d4d6d287
⚠️ ⚠️ ghmatti ditch ⚠️ ⚠️
2021-09-11 21:26:56 -05:00
Kakarot
fda382ce4f
Merge pull request #186 from goncalocarvalho95/main
...
Add car Previon
2021-09-09 15:32:52 -05:00
Goncalo Carvalho
6521d23384
Add car Previon
2021-09-09 17:59:42 +01:00
GhzGarage
a99f51fddf
Merge branch 'main' of https://github.com/qbcore-framework/qb-core into main
2021-09-08 23:47:17 -05:00
GhzGarage
e59cb33ad1
Update drop event
2021-09-08 23:47:10 -05:00
Kakarot
9eefcc553e
Merge pull request #178 from Kingsage311/patch-3
...
vehicle priceing chages
2021-09-08 23:43:53 -05:00
Kakarot
ff7a6d4cee
Merge pull request #175 from Tastyfish/hunger
...
Configurable hunger and thirst rate.
2021-09-08 23:43:10 -05:00
Kakarot
f1a1ec3f1b
Merge pull request #179 from davidecab/patch-1
...
Notify if inventory is full
2021-09-08 23:40:44 -05:00
GhzGarage
9d282bb2a0
Cypher car
2021-09-08 23:29:25 -05:00
David
ec06475c1e
Update player.lua
...
Changed to "Your inventory is too heavy!"
2021-09-08 15:01:48 +02:00
David
3800de1267
Notify if inventory is full
2021-09-02 23:46:11 +02:00
Kings
03b6cebef2
vehicle priceing chages
2021-09-02 14:37:39 -07:00
tastyfish
6cce66c001
Configurable hunger and thirst rate.
2021-09-01 04:07:14 -04:00
Kakarot
512b1c9d9f
Merge pull request #171 from Developer-Bear/patch-2
...
fix gang menu recruiting does not have notify
2021-08-30 21:05:50 -05:00
Bear
6b4bbc0572
fix gang menu recruiting does not have notify
...
SetGang must return true/false the gangmenu resource depends on this to give notifications
2021-08-30 21:02:04 -05:00
AJ
6d6efc88ed
fix: HasItem always returning true
2021-08-29 12:35:40 -04:00