Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local connection = nil
- addEventHandler("onResourceStart", resourceRoot, function()
- connection = dbConnect(...)
- end)
- function getConnection()
- return connection
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement