If I'm not mistaken, then, like, I should have done this:
function say1(source,x,y,z)
if (source and x and y and z) then
local x,y,z = getElementPosition(source)
if (x and y and z) then
sound = playSound3D('say1.mp3',x,y,z)
attachElements (sound,source)
setSoundMaxDistance(sound,25)
end
end
end
addCommandHandler('say1',say1,source,x,y,z)
But, anyway, the sound does not play. Can you show how to define variables x, y, z?