Ripped a part utility folder and shoved it into a lib. Changed a lot of Utility prefixes to the modules name. This contains breaking changes. Scripts that use 0.2.0 will need to update to match the new format
6 lines
250 B
Lua
6 lines
250 B
Lua
RegisterNetEvent("community_bridge:server:alert", function(data)
|
|
local playersByJob = Framework.GetPlayersByJob(data.job)
|
|
for _, src in pairs(playersByJob) do
|
|
TriggerClientEvent("community_bridge:client:alert", src, data)
|
|
end
|
|
end) |