onPlayerTeamChange Event
implemented the onPlayerTeamChange event for the server-side. this event includes two arguments: oldTeam and newTeam. if the player doesn't have an old team, oldTeam will be false.
How about enabling cancelEvent() for this new event?
Hello @esmail9900 and thank you for your PR.
Your PR gave me some strong flashbacks from when I attempted to add this event and lost motivation.
Please view the comments on this PR https://github.com/multitheftauto/mtasa-blue/pull/10 and check if your code complies with all that have been said in this PR.
Thank you.
You forgot some of my suggestions.
If they have been left on purpose, please explain why.
You forgot some of my suggestions.
If they have been left on purpose, please explain why.
mb, i just confused, im new to github :D
There are enough passed code reviews, thanks for your contribution @esmail9900