sendNotify
exports["RiP-Notify"]:sendNotify(type, time, title, text)
This function sends a notify to the client player
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
type | String | No | Notify type |
time | Integer | No | Time in miliseconds |
title | String | No | Notify title |
text | String | No | Notify text |
Example
if IsControlJustReleased(0, 38) then
exports["RiP-Notify"]:sendNotify('success', 4000, "RiP-Notify", "You've successfully pressed E on your keyboard")
end