DokaDoka
f04534d879
refactor(client/zones): rename type property to __type to avoid conflicts
2023-07-30 17:50:34 +10:00
Linden
d2c5be8ea8
fix(client/zones): setDebug early return
2023-07-27 00:38:36 +10:00
Linden
fe0f28921f
fix(client/zones): race condition when setting debug function
2023-07-25 14:13:09 +10:00
Linden
b06ba2d024
chore: type fixes
2023-07-25 01:59:39 +10:00
BerkieBb
8f5880aad7
feat(zones): add setDebug and debugColour ( #369 )
2023-07-23 19:37:29 +10:00
Linden
84b7f97a1c
fix(server/logger): missing )
2023-07-23 13:41:20 +10:00
Jellyton
2fafee41a0
refactor(server/logger): remove text formatting from hostname ( #361 )
2023-07-23 12:59:41 +10:00
Jag
65a799071a
chore: various fix-ups from docs clean-up ( #363 )
...
- Add in missing js functions
- getCurrentRadialId
- requestScaleformMove
- Change up math.tohex to maintain lowercase `0x` prefix
- Add missing fields
- Removed extra whitespaces
Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com >
2023-07-21 13:54:29 +02:00
Linden
9c90b5be5f
fix(server/cron): prevent scheduling tasks for new days
...
From 8488de.
2023-07-17 23:35:53 +10:00
Linden
149213032b
fix(server/cron): getTimeUnit corrections
...
Consistency between range and lists.
Use different time comparisons for minute units.
2023-07-17 22:48:33 +10:00
Linden
8488dec3d3
refactor(server/cron): allow getNextTime minute and hour "overflow"
...
Per the Lua manual,
"if sec is -10, it means 10 seconds before the time specified by the other fields".
i.e. { min = 61, hour = 0 } is equal to { min = 1, hour = 1 }
Should improve scheduling and help with #368 .
2023-07-17 20:07:30 +10:00
Linden
9e2076f5a5
refactor(server/cron): types and formatting, simplify getMaxDaysInMonth
2023-07-17 19:57:35 +10:00
Linden
6ab719654f
fix(server/cron): list expression should use >=
...
Resolves #366 .
2023-07-10 08:50:26 +10:00
Linden
8a0f5e946d
fix(client/zones): prevent malformed polyzone deadlock with debug
...
Temp workaround.
2023-06-20 09:19:27 +10:00
daZepelin
d070c631b4
fix(cron) edge case fixes ( #345 )
2023-06-13 04:57:39 +10:00
Randolio
0a3edcbe4d
fix(imports/getClosestPed): correct variable name ( #348 )
2023-06-13 04:51:20 +10:00
Linden
8ec19cf263
feat(imports/table): readonly tables
2023-05-28 15:14:52 +10:00
daZepelin
6486f995e1
feat(server/cron): getAbsoluteNextTime ( #319 )
2023-05-28 15:08:40 +10:00
mikigoalie
4fed5dc38d
feat(imports/math): groupdigits ( #338 )
2023-05-26 09:06:28 +10:00
Linden
a8ab102bae
refactor(imports/streaming): use coroutine.isyieldable
2023-05-25 14:56:56 +10:00
Linden
1ba5787ffd
feat(imports): extended math lib
2023-05-22 06:47:57 +10:00
Demetrio
ca991bfeab
fix(client/imports): correct return value for getClosestPed ( #334 )
2023-05-18 21:35:06 +10:00
Linden
ebd97f08ea
feat(client/imports): getClosestPed
2023-05-18 21:10:20 +10:00
Demetrio
4d1f39512f
feat(client/imports): getNearbyPeds ( #328 )
2023-05-18 21:06:21 +10:00
Linden
16875ca7e3
fix: type corrections
2023-05-18 15:38:53 +10:00
Linden
361ce6cca6
chore(imports/table): some types and annotations
2023-05-09 09:04:45 +10:00
daZepelin
56536d5a6d
refactor(server/logger): backwards compatibility for loki convar ( #314 )
2023-05-05 23:12:01 +10:00
Linden
28aaa9c5d9
fix(server/cron): only print on task stop when debug is enabled
2023-04-21 01:46:27 +10:00
Linden
62a0a2fe0b
feat(client/points): add new getter functions
2023-04-20 15:55:06 +10:00
Linden
51da742138
feat(zones): add new getter functions
2023-04-20 15:52:55 +10:00
iLLeniumStudios
373dd98655
fix(logger/loki): Consistent stream labels ( #304 )
2023-04-20 15:27:19 +10:00
Linden
d093805ef4
feat(imports): cron scheduling ( #293 )
2023-04-17 16:52:31 +10:00
TheiLLeniumStudios
ffff4833c2
chore: Remove unnecessary comma
2023-04-17 06:19:03 +00:00
TheiLLeniumStudios
b5515eabdc
refactor: Use authorization header instead of URL credentials
2023-04-17 06:11:32 +00:00
TheiLLeniumStudios
099ddede97
feat(logger/loki): Allow users to specify protocol for requests
2023-04-17 06:11:32 +00:00
Linden
5cf2417f4f
refactor(streaming): requestWeaponAsset params
2023-04-17 15:15:30 +10:00
Demetrio
87b08c29c6
feat(client/raycast): allow defining distance ( #296 )
2023-04-17 14:50:12 +10:00
Diogo Manuel Coelho Morais dos Santos
e91be47067
feat(streaming): requestWeaponAsset ( #264 )
2023-04-17 14:21:40 +10:00
Dolu
b035c5aa56
feat(client/addKeybind): add defaultMapper field ( #219 )
...
This allow other mapper input like `MOUSE_BUTTON` for example.
See: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/
2023-04-17 14:11:18 +10:00
Linden
389ed5263d
fix(server/addCommand): nil command name on error
2023-04-01 11:25:57 +11:00
Linden
b3b49b1cbd
fix: missing and invalid types and parameters
2023-02-25 18:20:14 +11:00
Linden
c57b1a9215
fix(imports/locale): prevent error from invalid locales
...
People with poorly formatted json files would not get a locales table,
leading to an error when trying to iterate.
Contains some other inconsequential changes, and warnings.
2023-02-23 18:54:49 +11:00
Aaron-Downham
f5bada7aa4
refactor(import/disableControls): add missing lua typings ( #231 )
2023-02-22 13:26:09 +11:00
Linden
7ab2aac9be
feat(imports/require): custom require for script files
2023-02-22 09:53:58 +11:00
Linden
47b8a72527
refactor(server/addCommand): add suggestion on command creation
...
Delayed commands should trigger the suggestion.
2023-02-22 01:30:52 +11:00
Linden
b47ae9d4fa
refactor(server/addCommand): use single command handler for aliases
2023-02-22 01:27:03 +11:00
Linden
4d15b38d02
feat(imports/addCommand)!: update syntax and support param help text
...
BREAKING CHANGE: First parameter now holds command name(s).
Second parameter is properties, containing (optional) values for help,
restricted, and params.
See #224 for more info.
2023-02-21 19:52:12 +11:00
Luke
b56e6826a8
Merge branch 'v3'
2023-02-17 15:54:20 +01:00
Linden
250cd56896
fix(callback): return types
2023-02-06 13:22:19 +11:00
Dolu
bd51fc72e0
fix(imports): return coords getNearbyObjects and getNearbyVehicles
2023-02-03 13:11:13 +11:00