-
Notifications
You must be signed in to change notification settings - Fork 150
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 CBA_fnc_registerChatCommand #507
Conversation
what's in |
Unless it's already there it would be so much useful to have the player who wrote the chat message in the parameters |
Only one element atm. The text you entered.
It's only local. So the event only fires when you enter something, not others. |
Of course 🎱 |
5ae520f
to
7bcda19
Compare
What is the state of this feature? It could be handy. |
@Dorbedo I wanted to make some kind of framework where you can define custom commands and optional parameters are passed to the function.
The framework would also handle command availability (everyone, admin (voted), admin logged). |
doc in OP |
3cd899b
to
acfee3b
Compare
acfee3b
to
ac24e4c
Compare
When merged this pull request will:
Documentation:
https://github.com/CBATeam/CBA_A3/wiki/Registering-Custom-Chat-Commands