Linden
b705d75404
Create a function for retrieving a players identifier
2021-05-09 14:44:44 +10:00
Mycroft
6c7b3ecf9e
tweaks
2021-05-03 20:39:18 +01:00
Mycroft
9212219d46
changes
2021-05-03 20:04:39 +01:00
Mycroft
4b2d95059c
Updates
2021-04-28 21:42:12 +01:00
justtos
799a56c026
Allow the callback for the item to have access...
...
to basic info about itself
2020-05-10 12:42:15 +03:00
ElPumpo
990feb9ca9
Fixed "Changing ones own access is not permitted"
2020-04-22 12:25:55 +02:00
ElPumpo
c375761c6f
Improved bad pickup code
2020-04-20 23:57:14 +02:00
ElPumpo
e772031094
Fixed some cases of shadowing upvalue
2020-04-14 10:42:03 +02:00
Vegard Bendiktsen
f4558c85e3
Support table/list of groups when registering commands ( #616 )
...
* Support table/list of groups when registering commands
* Adhere to "unwritten code standard"
2020-04-03 09:20:58 +02:00
ElPumpo
be2dc2e9e2
Minor adjustments
2020-03-25 22:45:23 +01:00
ElPumpo
d8e4e8d991
Fixed group not storing on db when saving player
2020-03-23 11:55:55 +01:00
ElPumpo
3ba2ed150f
Save accounts as encoded json text, migrate script found in development discord
2020-03-06 20:41:37 +01:00
ElPumpo
4e4ebfff7b
Re-done locale names for commands, moved hardcoded strings to locale and added /setgroup command
2020-03-04 12:41:57 +01:00
ElPumpo
4d9af4e1ab
Improved saving loadouts (see desc)
...
- Only save weapon components if needed, wont save default clip anymore, and if no other component is available then its not saved at all
- Tint index not stored if not above 0
- Weapon label not saved in database since its useless
- Validate weapon on player load
2020-03-01 10:54:03 +01:00
ElPumpo
ecbf340e39
Accept "me" in player or playerId type
...
Co-Authored-By: Dan Sadler <sadler2@users.noreply.github.com >
2020-02-22 10:05:10 +01:00
ElPumpo
21de2f9420
Remove suggestion on command override
2020-02-17 23:21:04 +01:00
ElPumpo
8a832aee3b
Implemented adding chat suggestions, closes #512
2020-02-17 23:07:18 +01:00
ElPumpo
4b648a8bef
Override existing commands, and fixed rare bug with cb args all nil
2020-02-17 22:48:44 +01:00
ElPumpo
35a726685e
⚠️ ⚠️ BREAKING COMMIT ⚠️ ⚠️ : Complete ES ditch
2020-02-17 15:22:09 +01:00
ElPumpo
f236a67d63
Implemented json encoded inventory, closes #177
2020-02-12 12:33:14 +01:00
ElPumpo
baa9ca3afc
Implemented weapon tint support (desc), closes #477
...
- Implemented two new xPlayer functions:
- .getWeaponTint(weaponName)
- .setWeaponTint(weaponName, weaponTintIndex)
Thanks to @profex1999 for co authoring this!
Co-Authored-By: Andrea Passarini <profex1999@users.noreply.github.com >
2020-02-11 21:11:54 +01:00
ElPumpo
f89e051756
BREAKING COMMIT - Player loading improvements (read description!)
...
This commit implements a new way of saving and getting player coords.
Player coords are synced with its assigned xPlayer, the syncing interval is defined in the configuration file.
Also coords wont sync if the player is too close to their previous location.
Existing servers must change their database to account for the new length of the position varchar, at 53 chars max. There's also a column default value specified in the sql file.
New xPlayer functions:
- .getCoords()
- .setCoords() (x,y,z,heading (optional) table
- .updateCoords()
The last one is used for syncing coords from client (interval). The second one will teleport the player. First one is a renamed .getLastPosition()
2020-01-12 22:13:30 +01:00
ElPumpo
ccdd4494c5
Reset color after client print, use async callback for retrieving jobs
2020-01-12 21:55:18 +01:00
ElPumpo
fdabf80657
Implemented ESX weapon drops with components support, closes #421
2020-01-04 01:33:12 +01:00
ElPumpo
2140f8628c
Added log level to print uses, and change formatting
2020-01-03 13:55:23 +01:00
ElPumpo
aa1ad0a1e8
Minor code improvements
2019-11-14 22:26:13 +01:00
ElPumpo
8586fdcce2
Fix thrown items not synced with mid-joined players
2019-09-18 13:47:41 +02:00
ElPumpo
5159e892fe
Removed unneeded backticks
2019-08-10 12:43:09 +02:00
ElPumpo
3d27e2b0a6
Indent cleanup
2019-04-17 11:38:12 +02:00
ElPumpo
b8d0669b64
Fixed job issues and dont query sql on xPlayer creation
2019-03-04 21:21:18 +01:00
ElPumpo
e976de722b
Implemented xPlayer.setLastPosition and fixed saving coords
2019-02-28 12:59:44 +01:00
ElPumpo
9a39f83aee
Minor changes
2019-02-28 12:57:54 +01:00
ElPumpo
5ab6123b44
Implemented ESX.DoesJobExist()
2019-02-28 12:57:09 +01:00
ElPumpo
caec057954
Initial support for weapon components
2018-12-29 02:10:37 +01:00
ElPumpo
b63c147fc0
Proper raycast arguments, trim last position
2018-12-23 15:05:00 +01:00
ElPumpo
c07cdde7c8
Tab indent update
2018-09-01 17:43:35 +02:00
ElPumpo
985f2a81fb
Refactoring, added shared functions
...
- Added ESX.ShowHelpNotification
- Added misc shared functions
2018-07-07 13:31:40 +02:00
Jérémie N'gadi
ca3d4ab017
fix(timeout): Fix sever timeout not triggering
2017-12-01 16:19:48 +01:00
Jérémie N'gadi
4b1f056103
fix(timeout): Fix server timeout problems (clock too slow) under rare conditions
2017-11-04 10:34:04 +01:00
Jérémie N'gadi
97adf4f97c
build(submodules): Remove submodules + move everything at root
2017-09-15 14:26:56 +02:00