mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
chat: add suggestions for commands, reduce 'joined' spam, make server prints white
This commit is contained in:
@@ -68,6 +68,9 @@ window.APP = {
|
||||
if (!suggestion.params) {
|
||||
suggestion.params = []; //TODO Move somewhere else
|
||||
}
|
||||
if (this.suggestions.find(a => a.name == suggestion.name)) {
|
||||
return;
|
||||
}
|
||||
this.suggestions.push(suggestion);
|
||||
},
|
||||
ON_SUGGESTION_REMOVE({ name }) {
|
||||
|
||||
Reference in New Issue
Block a user