kylemcshea / dream-postal

📦GoPostal Job for FiveM: Made for QB & ESX. Integrated with ox_target & qb-target for a premium gameplay experience. Elevate your server now! 🚀
https://www.youtube.com/watch?v=fSwJO3C85E0
52 stars 11 forks source link

#12 switch to sending null instead of info #13

Closed kylemcshea closed 10 months ago

kylemcshea commented 10 months ago

different framewoks have different fallback values, but they all handle nil well.

examples: https://github.com/esx-framework/esx_core/blob/bcc1e876b6b7befa8630ee5fafc605b10dc290d3/%5Bcore%5D/esx_notify/Notify.lua#L28

https://overextended.dev/ox_lib/Modules/Interface/Client/notify

https://github.com/qbcore-framework/qb-core/blob/main/config.lua#L46

Shoutout to Scooter for finding this issue!