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

Add onPlayerTriggerInvalidEvent #3400

Merged
merged 1 commit into from
May 24, 2024

Conversation

Lpsd
Copy link
Member

@Lpsd Lpsd commented May 24, 2024

Triggers for each usage of triggerServerEvent on non-added or non-remote events.

Example usage - in replace for onDebugMessage on the script security example here: https://wiki.multitheftauto.com/wiki/Script_security#Handling_events_spam

Params

string eventName, bool isAdded, bool isRemote

source is the player who triggered the event

Copy link
Contributor

@Nico8340 Nico8340 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 🎉

@Dutchman101 Dutchman101 merged commit 5b4122d into multitheftauto:master May 24, 2024
6 checks passed
MTABot pushed a commit that referenced this pull request May 24, 2024
@TheNormalnij TheNormalnij added this to the 1.6.1 milestone May 25, 2024
@TheNormalnij TheNormalnij added the enhancement New feature or request label May 25, 2024
MegadreamsBE pushed a commit to MegadreamsBE/mtasa-blue that referenced this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants