Files
reallife-gamemode/ReallifeGamemode.Client/util/notification.ts
2019-09-22 17:27:53 +02:00

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);
});
}