Jump to content

(Solved)Is there any tutorial or does anyone know a simple way to be able to use TheFocalPoint to play sounds for a specific player?


Recommended Posts

I really need a way to play sounds for a specific player and for the life of me I just can't understand how TheFocalPoint is supposed to be used to do so... any help would be greatly appreciatedĀ :D

Edited by . . .

In short:
TheFocalPoint is a global client sided entity responsible for camera manipulation. It also possesses a SoundEmitter and can be used to play sounds for the client (other players will not hear the sounds).

Playing a sound works the same way as any other entity with SoundEmitter.

TheFocalPoint.SoundEmitter:PlaySound(event, name, volume, ispredicted, ...)

I don't know if that's still a thing but for some reason trying to play a sound through TheFocalPoint while the game is paused will not play the sound, which is not the case when the game code does it.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...