Why Choose Mizu?
Next-Generation
Roleplay Systems
0.00ms Idle Performance
Event-driven architecture. Zero polling loops. Your server's TPS stays untouched.
Modular & Documented APIs
Every export is typed, documented, and versioned. Drop in, extend, override.
Framework Agnostic
Native support for ESX, QBCore, and QBox — no wrappers, no workarounds.
Anti-Exploit by Design
Server-authoritative logic. No client-side trust. Modders don't stand a chance.
mizu_smartshop / client.lua
1function OpenShop(shopId)
2 local shop = Config.Shops[shopId]
3 if not shop then return end
4
5 -- Integrated Permission & Job Check
6 if not HasShopAccess(shop) then
7 exports['mizu_interface']:Notify('error', 'No Access', 'You lack the permissions.')
8 return
9 end
10
11 local filteredItems = {}
12 for _, item in ipairs(shop.items) do
13 local requiredGrade = item.grade or 0
14 -- Dynamic filtering based on Player Grade
15 if PlayerJob.grade >= requiredGrade then
16 table.insert(filteredItems, item)
17 end
18 end
19
20 -- Triggering Clean NUI Interface
21 SetNuiFocus(true, true)
22 SendNUIMessage({
23 action = 'openShop',
24 shopName = shop.name,
25 items = filteredItems,
26 theme = Config.Theme or 'mizu_dark'
27 })
28end
resmon 0.00ms · ESX · QBCore · QBox
0.00ms Resmon
Zero performance impact on your server
Instant Delivery
Access your scripts immediately after purchase
Lifetime Updates
Free updates with every major FiveM patch
5★ Support
Dedicated support via Discord 24/7