function teleport (thePlayer)
local accountName=getAccountName(getPlayerAccount(thePlayer))
if isObjectInACLGroup("user."..accountName, aclGetGroup("Admin")) then
setElementInterior (thePlayer,0)
setElementDimension (thePlayer,0)
setElementPosition (thePlayer ,1929.9, -2061.8999, 16.4 )
outputChatBox("[Teleport] Pomy?lnie przeteleportowa?e? si? w dane miejsce.",thePlayer, 255, 255, 255, true)
end
end
addCommandHandler ("psp",teleport)