Try this :
function consoleSetPlayerPosition ( commandName, posX, posY, posZ)
localPlayer = getLocalPlayer()
if localPlayer then
fadeCamera(false, 1)
setTimer(fadeCamera, 1000, 1, true)
setTimer(setElementPosition, 1500, 1, localPlayer, posX, posY, posZ)
end
end
addCommandHandler ( "setpos", consoleSetPlayerPosition )
And , Tell me the result .