Olá!
Segue aí um script de casas/homes... estou trabalhando com esse scripts e estou melhorando.
Para corrigir o erro abaixo você precisa ir no seu PMA-VOICE e adicionar em server.lua:
function updateRoutingBucket(source)
local route = GetPlayerRoutingBucket(source)
voiceData[source].routingBucket = route
TriggerClientEvent('pma-voice:updateRoutingBucket', source, route)
end
RegisterNetEvent('pma-voice:server:updateRoutingBucket')
AddEventHandler('pma-voice:server:updateRoutingBucket', function()
local source = source
updateRoutingBucket(source)
end)
-- Export the function
exports('updateRoutingBucket', function(source)
updateRoutingBucket(source)
end)
Veja o vídeo do script: