From a98ab1d7ebce28224d9e48890cc466d9d7c4b069 Mon Sep 17 00:00:00 2001
From: xorzo <80540494+xorzo1@users.noreply.github.com>
Date: Tue, 5 Jul 2022 13:51:08 +0200
Subject: [PATCH] Update readme.md
---
[esx]/esx_notify/readme.md | 45 +++++++++++++++++++++++++++++---------
1 file changed, 35 insertions(+), 10 deletions(-)
diff --git a/[esx]/esx_notify/readme.md b/[esx]/esx_notify/readme.md
index 18ed3765..ec9aaea9 100644
--- a/[esx]/esx_notify/readme.md
+++ b/[esx]/esx_notify/readme.md
@@ -1,13 +1,38 @@
-## How to change style and time
-
-* ESX.ShowNotification("Text Here", "error", 3000) -- Error Notification
-* ESX.ShowNotification("Text Here", "success", 3000) -- Success Notification
-* ESX.ShowNotification("Text Here", "info", 3000) -- Info
+
ESX Notify
-* By doing ESX.ShowNotification("Text Here") it will be default/info
+Change style and time
+```lua
+---usage: message/type/length
+ESX.ShowNotification("message here", "error", 3000)
+ESX.ShowNotification("message here", "success", 3000)
+ESX.ShowNotification("message here", "info", 3000)
-# Exports
-* exports["esx_notify"]:Notify("info", 3000, "Text Here")
+ESX.ShowNotification("text here") -- Default will time and type will be info/3000
+```
-# Events
-* TriggerEvent("ESX:Notify", "info", 3000, "Text Here")
+Export Usage
+```lua
+exports["esx_notify"]:Notify("info", 3000, "message here")
+```
+
+Event Usage
+```lua
+TriggerEvent("ESX:Notify", "info", 3000, "message here")
+```
+
+Color Code Usage
+- ~r~ = Red
+- ~b~ = Blue
+- ~g~ = Green
+- ~y~ = Yellow
+- ~p~ = Purple
+- ~c~ = Grey
+- ~m~ = Dark Grey
+- ~u~ = Black
+- ~o~ = Orange
+
+```lua
+ESX.ShowNotification("I i ~r~love~s~ donuts", "success", 3000)
+```
+
+