function joinHandler()
local x = -1916.6762695313
local y = 883.24578857422
local z = 35.4140625
spawnPlayer(source, x, y, z)
fadeCamera(source, true)
setCameraTarget(source, source)
outputChatBox("Witaj na serwerze. Zyczymy milej gry!", source)
end
addEventHandler("onPlayerJoin", getRootElement(), joinHandler)
function CommandHandler( thePlayer )
setElementPosition (thePlayer, -1916.6762695313 ,883.24578857422 ,35.4140625 )
outputChatBox("Witaj na spawnie :D", source)
end
addCommandHandler("spawn", CommandHandler)