View Issue Details

IDProjectCategoryView StatusLast Update
0006466Multi Theft Auto : San AndreasClientpublic2011-09-04 12:11
ReporterJohn_Michael Assigned ToCazomino05  
Status resolvedResolutionfixed 
OSWindows 7 
Target Version1.1.1Fixed in Version1.1.1 
Summary0006466: 3D sounds (set to element streams) attached to vehicles do not sync for some players

When a sound is created and attached to a vehicle out of a client's streaming range, said player will NOT be able to hear the sound when the vehicle drives up to them.

Steps To Reproduce

triggerClientEvent("3DattachTest", root, getPlayerFromName("randomPlayer"))

addEvent("3DattachTest", true)
addEventHandler("3DattachTest", root, function(player)
sound = playSound3D("")
car = getPedOccupiedVehicle(player)
attachElements(sound, car)

Assuming randomPlayer is a player outside your streaming distance, and that they are in a car, when they drive up to you, you will not be able to hear the sound.

Additional Information

NOTE: the sound dosent have to be attached to a vehicle - it can be attached to anything that moves. The point is, when it enters your streaming distance, the sound will not be heard. Same if you move closer to the vehicle.

TagsNo tags attached.



2011-09-02 07:09

viewer   ~~0014618

Well, I've done a pretty poor job reporting this issue. I've narrowed it down a bit:

-When a 3D Sound element is attached to an element that is not streamed in on the client, the attachment does not happen. The sound is still created, however.

This behaviour is actually normal I think, it's me failing to recognize that if an element isn't streamed in locally, trying to attach the element is a bad idea. Whether or not this issue is a bug is up to your interpretation.


2011-09-02 07:48

viewer   ~~0014619

Edit: Also, when a sound is created an attached to an element that IS streamed in, when said element is moved out of the streaming distance of the local player, and returns, the sound will be gone.


2011-09-04 12:07

manager   ~~0014671

Issue History

Date Modified Username Field Change