Skip to main content

sendNotify

exports["RiP-Notify"]:sendNotify(type, time, title, text) 

This function sends a notify to the client player

Arguments

NameTypeOptionalExplenation
typeStringNoNotify type
timeIntegerNoTime in miliseconds
titleStringNoNotify title
textStringNoNotify text

Example

if IsControlJustReleased(0, 38) then
exports["RiP-Notify"]:sendNotify('success', 4000, "RiP-Notify", "You've successfully pressed E on your keyboard")
end