Kvetaq Posted February 22, 2023 Share Posted February 22, 2023 Dobrý den. Potřeboval bych pomoct se scriptem okokNotify v es_Extended. Zkoušel jsem to několikrát, ale marně. Děkuji za pomoc. Quote Link to comment Share on other sites More sharing options...
0 Isigar Posted February 22, 2023 Share Posted February 22, 2023 A s čím přesně chceš pomoci? Prosím specifikuj svůj požadavek. Quote Link to comment Share on other sites More sharing options...
0 Isigar Posted February 22, 2023 Share Posted February 22, 2023 Například uprava ESX.ShowNotification function ESX.ShowNotification(message, type, length) if Config.NativeNotify then BeginTextCommandThefeedPost('STRING') AddTextComponentSubstringPlayerName(message) EndTextCommandThefeedPostTicker(0, 1) else exports["esx_notify"]:Notify(type, length, message) end end S použitím okokNotify function ESX.ShowNotification(message, type, length) exports['okokNotify']:Alert('Upozornění', message, length or 3000, type or 'info') end Tady dokumentace okokNotify https://docs.okokscripts.io/scripts/okoknotify Quote Link to comment Share on other sites More sharing options...
0 Kvetaq Posted February 22, 2023 Author Share Posted February 22, 2023 Děkuji. Potřeboval bych spíše poradit, jak to aplikuji do server.lua Quote Link to comment Share on other sites More sharing options...
0 Isigar Posted February 23, 2023 Share Posted February 23, 2023 20 hours ago, Kvetaq said: Děkuji. Potřeboval bych spíše poradit, jak to aplikuji do server.lua Myslíš třeba pro výplaty? Můžeme tím pádem změnit ve stejném souboru ještě esx:showAdvancedNotification Před function ESX.ShowAdvancedNotification(sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex) if saveToBrief == nil then saveToBrief = true end AddTextEntry('esxAdvancedNotification', msg) BeginTextCommandThefeedPost('esxAdvancedNotification') if hudColorIndex then ThefeedSetNextPostBackgroundColor(hudColorIndex) end EndTextCommandThefeedPostMessagetext(textureDict, textureDict, false, iconType, sender, subject) EndTextCommandThefeedPostTicker(flash or false, saveToBrief) end Na function ESX.ShowHelpNotification(msg, thisFrame, beep, duration) exports['okokNotify']:Alert('Upozornění', msg, duration or 3000, type or 'info') end Quote Link to comment Share on other sites More sharing options...
Question
Kvetaq
Dobrý den. Potřeboval bych pomoct se scriptem okokNotify v es_Extended. Zkoušel jsem to několikrát, ale marně.
Děkuji za pomoc.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.