Hello! This is a simple, NoPixel 3.0 Inspired, Blackout script for QBCore. I made this, to work in conjuction with my upcoming NP inspired coke mission, but decided it was cool enough to share this part with others. Nothing much more to say, check out the preview video
Not really sure what you need converting? Just change the callbacks to ESX callbacks and change the target to one that you use, fairly straight forward
If you are running a server and dont know how to do that then you need to stop running a server or at least learn. It’s VERY basic
EDIT
I mean, how hard is it?
QBCore.Functions.CreateCallback("sd-blackout:server:coolc",function(source, cb)
if Cooldown then
cb(true)
else
cb(false)
end
end)
To
ESX.RegisterServerCallback('sd-blackout:server:coolc', function(source,cb)
if Cooldown then
cb(true)
else
cb(false)
end
end)