oh yeah you're right
try this
function clickfunc(button, state, player)
if button == "left" and state == "down" then
if getElementType(source) == "object" and getElementData(source, "owner") == player then
local x, y, z = getElementPosition(source);
local model = getElementModel(source);
bindKey(player, "arrow_u", "down", mozgatas, source);
setElementData(source, "mozgathato", true);
end
end
end
function mozgatas(player, key, state, element)
if getElementData(element, "owner") == player and getElementData(element, "mozgathato") then
local x,y,z = getElementPosition(element);
setElementPosition(element, x, y-0.5, z);
end
end