Skip to content

kocaka14/qb-notify-replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

qb-notify-replace

replaces default qbcore notify with okokNotify

Join discord for more Discord

Discord Presence

  • 1 Go To qb-core/client/functions.lua

  • 2 Find The Following Code: This Is Located Around Line 88

  • 3 Delete From Around Line 88 To Around 111 Where The End Of That Function Is

  • 4 Paste The Following Code!

QBCore.Functions.Notify = function(Message, Type, Time, Title)
   local Title = Title ~= nil and Title or "Notification"
   local Message = Message ~= nil and Message or "Message"
   local Time = Time ~= nil and Time or 2000
   local Type = Type ~= nil and Type or "info"
   if ttype == 'primary' then ttype = 'info' end
   exports['okokNotify']:Alert(Title, Message, Time, Type)
end

I also give you an css edited Okok-Notify

image

Visitor count

About

snippet: replaces default qbcore notify with okokNotify

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors