RegisterNetEvent("robberies_creator:heist:heistStarted", function(heistId)-- just an example, will do nothing useful, you may want to retrieve data from databaseprint("Heist with ID " .. heistId .." has just started")end)
Where to insert the code?
You can place it in the file integrations/sv_integrations.lua of the script, at the bottom of the file on new lines