function GetPosition ( player )
local x, y, z = getElementPosition( player )
outputChatBox("Your Position: "..x..", "..y..", "..z)
end
addCommandHandler ( "Postion", GetPosition )
You added an extra ". You should work in a text editor that supports syntax highlighting, which makes errors like this easier to spot.