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: Initial fixes #572

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Conversation

ds1-e
Copy link
Contributor

@ds1-e ds1-e commented Nov 2, 2024

  • Use localPlayer instead of root in triggerServerEvent
  • Remove unnecessary variable
  • Add missing player in getPedControlState
  • Disable cache for client.lua

@jlillis
Copy link
Contributor

jlillis commented Nov 5, 2024

Could you fix the linter errors as well?

Checking [gameplay]/superman/client.lua           5 warnings

    [gameplay]/superman/client.lua:173:8: variable player was previously defined as an argument on line 171
    [gameplay]/superman/client.lua:180:8: variable player was previously defined as an argument on line 178
    [gameplay]/superman/client.lua:625:22: used variable _x with unused hint
    [gameplay]/superman/client.lua:625:26: used variable _y with unused hint
    [gameplay]/superman/client.lua:625:30: used variable _z with unused hint

@jlillis
Copy link
Contributor

jlillis commented Nov 5, 2024

Thanks!

@jlillis jlillis merged commit 2b3bc10 into multitheftauto:master Nov 5, 2024
1 check passed
MittellBuurman pushed a commit to MittellBuurman/mtasa-resources that referenced this pull request Nov 11, 2024
* Initial fixes for superman

* Update meta.xml

* Fix lint warnings.
@ds1-e ds1-e deleted the superman-init-fix branch November 14, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants