Functions/DarkRP/Server/notify

From DarkRP
Jump to navigation Jump to search
Function
Function name DarkRP.notify(Player, table ply, number msgType, number time, string message)
Description:
Make a notification pop up on the player's screen.
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/notify]DarkRP.notify[/url][/b]

Function parameters[edit]

  1. ply (Player, table) (optional)
  2. The receiver(s) of the message.

  3. msgType (number)
  4. The type of the message. (Uses https://wiki.facepunch.com/gmod/Enums/NOTIFY)

  5. time (number)
  6. For how long the notification should stay on the screen.

  7. message (string)
  8. The actual message.

Function return values[edit]

This function does not return any value.