Skip to content

Add 'manuallyChanged' parameter to onPlayerChangeNick #52

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

Merged
merged 1 commit into from
Jul 23, 2016
Merged

Add 'manuallyChanged' parameter to onPlayerChangeNick #52

merged 1 commit into from
Jul 23, 2016

Conversation

zneext
Copy link
Contributor

@zneext zneext commented Jul 23, 2016

This PR adds a new parameter to the onPlayerChangeNick event, it tells whether the player changed his nickname manually (i.e. with the nick command) or it was set "automatically" with the setPlayerName function, It's useful to tell if the event can be cancelled or not, To show messages only when the player tries to change his nickname manually etc.

@qaisjp qaisjp merged commit 439a62b into multitheftauto:master Jul 23, 2016
@qaisjp
Copy link
Contributor

qaisjp commented Jul 23, 2016

Nice work!

@qaisjp qaisjp added the enhancement New feature or request label Jul 4, 2017
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.

2 participants