Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superman: further improvements #585

Merged

Conversation

ds1-e
Copy link
Contributor

@ds1-e ds1-e commented Dec 14, 2024

  • Removed extra table overhead from functions
    -> Localized few of them
  • Moved configurable vars to separate .lua
  • Moved vectors to separate .lua
    -> Use simple tables from now on
    -> Probably fixes rare error below (for some reason not breaking anything, just annoying script log)
    -> attempt to call method 'Normalize' (a nil value)
  • Different, and more effective approach for getting flying players around; instead of searching for players in radius of 300, script now gets only those who are streamed in.
    -> This also ensures that players are in same interior & dimension.

@Dutchman101
Copy link
Member

Thanks a lot, looks good

@Dutchman101 Dutchman101 merged commit 1e4319d into multitheftauto:master Dec 16, 2024
1 check passed
@ds1-e ds1-e deleted the superman-further-improvements branch December 16, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants