Exports: sharing functions across resources
Events fire and forget. Exports are function calls: synchronous, they return a value, and they run on the same side that registered them. They are how every framework you have ever used wires resources together, exports.ox_inventory:GetItemCount, exports.es_extended:getSharedObject. This lesson teaches you to expose a function safely and, more importantly, to consume it from a second resource so you see the cross-resource call the topic is named for.
Build it
Make the two resource folders
Inside your server's resources folder, create both of these folders:
resources/qu_money
resources/qu_money_consumer