Like I said above, if you are trying to get the coordinates of a player to teleport to, use GetPlayerPos. If you are trying to teleport the player to a place, then you can get the coordinates by going to that location in-game and typing /save, which will save the coordinates into savedpositions.txt located in My Documents/GTA San Andreas User Files/SAMP.