This will add a notificiation above your mini map

264

Parameters

NameTypeDescription
iconstringThis will set the notification picture
typeintegerCheck the icon types below.
colorintegerThis will set the background color
senderstringThis will set the sender name
titlestringThis will set the title for the notification
textstringThis will set the your message for the notification.

Icon types

TypeDescription
1Chatbox
2Email
3Add Friend Request
4Nothing
5Nothing
6Nothing
7Right Jumping Arrow
8RP Icon
9$ Icon

Examples

TriggerEvent("fs_freemode:notify", "CHAR_MARTIN", 4, 27, "Martin", "Security Vans Robbery", "Just to let you know you, there are some security vans driving around to rob"))
TriggerEvent("fs_freemode:notify", source, "CHAR_MARTIN", 4, 27, "Martin", "Security Vans Robbery", "Just to let you know you, there are some security vans driving around to rob"))