all-in-simplicity / fivem-hypnonema

Media Player Resource for FiveM
Other
140 stars 73 forks source link

Export Functions #87

Closed Benni76 closed 2 years ago

Benni76 commented 2 years ago

I can't use the Export Function, there are no errors in the console. Here is my code: server.lua `RegisterServerEvent('props:play') AddEventHandler('props:play', function() exports.hypnonema:play('TV1', 'https://www.youtube.com/watch?v=47L5VhAIZ2o')

end)`

client.lua TriggerServerEvent('props:play')