6 lines
217 B
TypeScript
6 lines
217 B
TypeScript
export default function notificationUtil() {
|
|
mp.events.add("SERVER:Util_sendNotification", (player, text) => {
|
|
mp.gui.chat.push("sendnotification");
|
|
player.SendNotification("" + text);
|
|
});
|
|
} |