Skip to content

Conversation

@sacr1ficez
Copy link
Contributor

@sacr1ficez sacr1ficez 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
@sacr1ficez sacr1ficez 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