🤠 Wild Country Libs
Client API

Notify

VORP ships 17 named notify styles. RSG Core has none of its own — it delegates entirely to ox_lib's single lib.notify. wc_lib gives you full access to every VORP variant, and best-effort maps each one down to RSG's one notify type when that's what's running.

Notify(source, opts)client

Sends a notification using whichever framework is active.

FieldTypeUsed by
variantstring | nilPicks a VORP style. Defaults to 'avanced'.
titlestringAll variants.
subtitlestring | nilleft, simpletop, fail, update, warning, leftrank, leftinteractive
dict / iconstring | nilleft, avanced, leftrank, leftinteractive
colorstring | nilleft, avanced, leftrank, leftinteractive
durationnumber | nilAll variants. Defaults to 4000ms (-1 on leftinteractive = stays on screen).
quality / showQualitynumber / booleanavanced only.
audioref / audionamestring | nildead, warning
second_descriptionstring | nilthreesimpletop only
locationstring | niltop only

Try it — pick a variant and a framework, see what wc_lib actually calls underneath:

underneath, on —
your code (same on both)
wc:Notify(source, {
  variant = 'righttip',
  title   = "Job updated: Marshal",
  duration = 4000,
})
vorp_core — exact variant, full fidelity
Core.NotifyRightTip("Job updated: Marshal", 4000)
rsg — collapsed to ox_lib's one notify type
lib.notify({
  title    = "Job updated: Marshal",
  type     = 'inform',
  duration = 4000,
})
Visual fidelity is intentionally asymmetric. VORP is the richer "main" experience this lib is built around — every one of its 17 variants is preserved exactly. RSG gets the closest reasonable fallback, not a 1:1 match, since ox_lib's notify just doesn't have that many distinct visual styles to map to.

Variant reference

Every VORP variant, and what it collapses to on RSG.

variantVORP callRSG fallback type
avanced (default)NotifyAvancedsuccess
leftNotifyLeftinform
tipNotifyTipinform
righttipNotifyRightTipinform
objectiveNotifyObjectiveinform
topNotifyTopinform
simpletopNotifySimpleTopinform
centerNotifyCenterinform
bottomrightNotifyBottomRightinform
failNotifyFailerror
deadNotifyDeaderror
updateNotifyUpdatesuccess
warningNotifyWarningerror
leftrankNotifyLeftRanksuccess
onesimpletopNotifyOneSimpleTopinform
threesimpletopNotifyThreeSimpleTopinform
leftinteractiveNotifyLeftInteractiveinform
example — money reward (default variant)
-- no variant specified — uses 'avanced', the default
wc:Notify(source, {
  title = "+$50",
  icon  = 'itemtype_cash',
  color = 'COLOR_WHITE',
})