Closed Arochka closed 1 year ago
Just to let you know that i give a try on dev14 and still crashing
It wasnt fixed in dev14, but probably in dev15
On dev15, addOutput on a prop no longer crash the game but I got this error in console now: The specified entity has no audio emitter!
BTW, can it be possible to addOutput on a position ? Cause on my case i’m using a dumb entity to achieve that, pretty ugly
Should work in v15
Client/server version
rc/4.0-rc1
Current behavior Adding audio output on a prop is crashing the game
Expected behavior Not crashing the client
Steps to reproduce ` native.requestModel(alt.hash('prop_tennis_ball')) //Omited on this example, but i'm waiting that model is loaded using a promise calling native.hasModelLoaded(alt.hash('prop_tennis_ball'))
`
Context (environment) I'm trying to play sound at a specific pos, to achieve this i'm spawning a dumb entity, set invisible + no collisions and attach the audio on it
Possible solution Maybe just allow to play sound on a specific position without the need to attach to an entity and in this case creating a dumb prop just to attach sound on it