Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Big refactor #69

Merged
merged 1 commit into from
Mar 22, 2022
Merged

Big refactor #69

merged 1 commit into from
Mar 22, 2022

Conversation

BerkieBb
Copy link
Contributor

  • Localized Config, because why not
  • Added debug entry for the raycast, it will not display a line on where the raycast travels until it hits a target
  • Removed a lot of unnecessary indentation
  • Added export for various existing functions
  • Added the ability to draw an outline on entities (besides peds), this can be enabled in the config, the color can be changed in the config aswell
  • Added a toggle option to keep showing the target, even when the key is not pressed the whole time
  • Fixed bug where you can stay aimed at the target and run away infinitely without the target leaving
  • Added more control disables
  • The pause menu is now disabled whilst holding the eye open
  • Made a lot of existing functions more modular
  • Added more options to use as triggers
  • When no trigger is setup, it will display an error
  • Changed AddPolyzone to AddPolyZone because capital consistency
  • Added default option config
  • Added trunk to the default options
  • Enabled fxv2 oal as it is fixed now, with only the default options enabled and in-use the target is now 0.04ms for me instead of 0.05ms, a small improvement
  • Updated fontawesome to v6.1.0
  • The target can now be closed with escape and backspace aswell
  • Added config options for the context menu key and the key to open the target
  • Reduced waits to 0 for control presses

I haven't tested everything but I have tested just the default options

- Localized Config, because why not
- Added debug entry for the raycast, it will not display a line on where the raycast travels until it hits a target
- Removed a lot of unnecessary indentation
- Added export for various existing functions
- Added the ability to draw an outline on entities (besides peds), this can be enabled in the config, the color can be changed in the config aswell
- Added a toggle option to keep showing the target, even when the key is not pressed the whole time
- Fixed bug where you can stay aimed at the target and run away infinitely without the target leaving
- Added more control disables
- The pause menu is now disabled whilst holding the eye open
- Made a lot of existing functions more modular
- Added more options to use as triggers
- When no trigger is setup, it will display an error
- Changed AddPolyzone to AddPolyZone because capital consistency
- Added default option config
- Added trunk to the default options
- Enabled fxv2 oal as it is fixed now, with only the default options enabled and in-use the target is now 0.04ms for me instead of 0.05ms, a small improvement
- Updated fontawesome to v6.1.0
- The target can now be closed with escape and backspace aswell
- Added config options for the context menu key and the key to open the target
- Reduced waits to 0 for control presses
@LukeWasTakenn LukeWasTakenn requested a review from thelindat March 22, 2022 14:32
@thelindat thelindat merged commit d0cea54 into overextended:main Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants