Commit Graph

464 Commits

Author SHA1 Message Date
DokaDoka
6fdc1973e4 fix(client/zoneCreator): box zone length and width 2022-09-20 23:31:35 +10:00
Manifest Bumper
30c004b486 chore: bump manifest version to v2.11.1 2022-09-18 12:56:09 +00:00
Linden
4657de6470 fix(package/cache): check if cached value is defined 2022-09-18 22:53:04 +10:00
Linden
21214728b7 refactor(init): module stub
If module doesn't return a result, create a stub function.
2022-09-18 22:42:05 +10:00
Linden
f1671f14bc fix(imports/player): return function 2022-09-18 22:41:25 +10:00
Manifest Bumper
36703a1f47 chore: bump manifest version to v2.11.0 2022-09-18 10:38:21 +00:00
Luke
158ec03a2a chore(package): add readme 2022-09-18 12:37:03 +02:00
Luke
230948862f ci(release): fix incorrect path name 2022-09-18 12:25:00 +02:00
Manifest Bumper
c7b6110070 chore: bump manifest version to v2.11.10 2022-09-18 10:22:33 +00:00
Linden
0e1dfc78ba refactor(resource/vehicleProperties): type fixes 2022-09-18 11:33:17 +10:00
Linden
d08101c545 refactor(resource/vehicleProperties): typings and formatting 2022-09-18 11:25:07 +10:00
Linden
6254ba9ba2 refactor(resource/interface): formatting and type definitions 2022-09-18 09:06:32 +10:00
Linden
cb645ae345 Merge pull request #97 from overextended/npm-package
Npm package
2022-09-18 08:45:59 +10:00
Linden
c9dd07a936 fix(package): checkDependency type 2022-09-18 08:12:16 +10:00
Linden
7476505ee7 refactor(package): import shared and declare cache in server/client 2022-09-18 08:11:25 +10:00
Linden
6adbf61797 Merge pull request #99 from jag3dagster/feat-menu-open-menu-select-index
feat(menu): Add option to open menu with specified item index selected
2022-09-18 06:51:08 +10:00
Luke
5549fd4cff fix(package): use generics to define return type 2022-09-17 20:21:06 +02:00
Jag
47163748d5 feat(menu): Open Menu with specified item index selected
* Allows a user to pass in a start index to have pre-selected when a menu is opening
* Cleaned up whitespace inconsistencies in menu.lua
2022-09-17 11:03:10 -07:00
Linden
95dd3b1838 feat(package): cache 2022-09-18 00:48:04 +10:00
Linden
1dbfd01f48 fix(package): getVehicleProperties param 2022-09-18 00:07:58 +10:00
Luke
87310e77e0 feat(package): add citizen typings 2022-09-17 16:06:38 +02:00
Luke
ef4595c706 fix(package): set notification types as optional 2022-09-17 14:21:28 +02:00
Luke
ea40c9c8d5 fix(package): include position in progress circle interface 2022-09-17 13:57:54 +02:00
Linden
cd8e4bbd4d fix(client/zones): yet another debug fix
Because a zone vanishing upon entry is of no use.
2022-09-17 18:21:38 +10:00
Luke
7529e7436b fix(package): fix incorrect typings for context menu 2022-09-16 16:06:04 +02:00
Luke
fe1820e07f ci(release): publish new npm package version on release 2022-09-15 14:01:18 +02:00
Luke
cc80d53dfd fix(package): include tsconfig files in server and shared 2022-09-15 13:29:21 +02:00
DokaDoka
d37324eeed feat(client/zoneCreator): display modes
add option to display zones as a wireframe, with solid walls, axis helper or both solid walls and axis helper
2022-09-15 21:19:10 +10:00
DokaDoka
18fa0b6391 fix(client/zoneCreator): no more wild rhombus 2022-09-15 20:57:10 +10:00
DokaDoka
5efec8a114 fix(client/zoneCreator): prevent canceling from opening pause menu 2022-09-15 20:56:10 +10:00
Luke
f573ba259c fix(package): remember to actually save the file 2022-09-15 10:36:50 +02:00
Luke
3dcad0fc98 feat(web): version wreapper 2022-09-15 10:34:52 +02:00
Luke
f298bb6eb9 feat(package): vehicle properties wrapper 2022-09-15 10:24:04 +02:00
Luke
5054030948 feat(package): streaming wrapper 2022-09-15 00:22:25 +02:00
Luke
8cbef2580c feat(package): locale wrapper 2022-09-15 00:10:04 +02:00
Luke
1373ff21d4 feat(package): acl wrapper 2022-09-14 23:46:00 +02:00
DokaDoka
d90f218ae5 feat(client/zoneCreator): command suggestion 2022-09-15 00:21:16 +10:00
DokaDoka
c8ecc169ca tweak(client/zoneCreator): activate controls when starting creator 2022-09-15 00:20:46 +10:00
DokaDoka
eef6e049e8 feat(resource/zoneCreator): target output format 2022-09-15 00:01:29 +10:00
DokaDoka
6fb18c740a feat(resource/zoneCreator): change output format in dialog 2022-09-15 00:00:53 +10:00
Luke
4f0cc4c7c5 feat(package): interface definitions 2022-09-14 13:50:32 +02:00
Linden
863ac03ca3 refactor(imports): more type fixes 2022-09-14 16:12:43 +10:00
Linden
3084265bbb refactor(server/zoneCreator): output format and path, security fix
Don't allow players to trigger ox_lib:saveZone without ace permissions.
Write created_zones to root.
Use explicit vectors and set name as a string.
2022-09-14 15:19:01 +10:00
Linden
c95fd8ecf4 refactor(client/zoneCreator): create temporary thread
Move the on-tick thread into the startCreator function, and kill it once
creatorActive is set to false.
2022-09-14 15:15:36 +10:00
Linden
032e0e2db1 fix(client/zones): CZone.contains return type 2022-09-14 08:12:12 +10:00
Linden
62d56fa885 refactor(client/zones): add types and change indentation 2022-09-14 08:08:00 +10:00
Linden
9a17b9bac5 perf(client/points): apply optimisations used in zones
"SphereZones" are really just points with some extra overhead, but the module
had some overall improvements to improve performance.
Includes type definitions for sumneko.
2022-09-14 07:45:03 +10:00
Linden
32e2da2d8f refactor(init): type-fixes and minor adjustments 2022-09-14 01:42:14 +10:00
Linden
26538b8148 refactor(imports): assign modules directly to lib namespace
Mostly a change for improved intellisense with sumneko lua.
Includes some type fixes and deprecation notices.
2022-09-14 01:20:50 +10:00
Linden
107d812dc3 refactor(client/zoneCreator): restrict command access
Includes fix for zone name.
2022-09-14 00:56:56 +10:00