Notify
TriggerEvent Syntax
TriggerServerEvent("viority_lifeinvadernotify:server:LifeInvaderNotify", NotifyID, NotifyAnonymous, NotifyName, NotifyPhone, NotifyMessage, NotifyDuration)
PARAMETER
- NotifyID (STRING) -> Such an ID e.g. 02
- NotifyAnonymous (BOOL) -> Is it anonymous?
- NotifyName (STRING) -> The Player Name e.g. "Alessio Martini"
- NotifyPhone (STRING) -> The Player Phone number e.g. 234 567
- NotifyMessage (STRING) -> The Advertisement Text e.g. "I sell XY at XY"
- NotifyDuration (INT) -> Duration in ms e.g. 5000 for 5 seconds
Examples
-- Example for CLIENTSIDE!
TriggerServerEvent("viority_lifeinvadernotify:server:LifeInvaderNotify", "02", false, "Alessio Martini", "187361", "Test Message", 15000)
-- Example for SERVERSIDE!
TriggerClientEvent("viority_lifeinvadernotify:client:LifeInvaderNotify", -1, "02", false, "Alessio Martini", "187361", "Test Message", 15000)