function set(thePlayer)
setElementData(thePlayer, "data", true)
outputChatBox("jest", thePlayer)
end
addCommandHandler("ustaw", set)
function check(thePlayer)
local el = getElementData(thePlayer, "data")
if el == true then
outputChatBox("masz", thePlayer)
else
outputChatBox("nie", thePlayer)
end
end
addCommandHandler("sprawdz", check)