The function you want for the sound is
EmitAmbientSound.
If I'm right, you'll also need
GetClientAbsOrigin to get the players location to pass as the second argument to EmitAmbientSound.
So, something like this:
PHP Code:
new Float:origin[3] = GetClientAbsOrigin(client);
EmitAmbientSound("path/to/sound", origin, GetClientUserId(client));
Note: As I recall, a client's UserId is an entity ID, but if I'm wrong, the previous line will cause an error.
Likely you'll need a tempent for the effect, but sadly I know nothing about them.
__________________