You can recreate this error by running the following code on your server-side:
local src = source
local ped = GetPlayerPed(src)
if ped then
exports.pmms:startByNetworkId(NetworkGetNetworkIdFromEntity(ped), {
url = "SOME URL",
duration = 3,
range = 5
})
end
Solution
This is solved via actually passing down the options to the pmms:play event and sendMediaMessage function.
This PR resolves issue: #71
Recreation
You can recreate this error by running the following code on your server-side:
Solution
This is solved via actually passing down the options to the
pmms:play
event andsendMediaMessage
function.