I need help with this function, check if there's bug in it please.
function hospital( player, source, commandName, posX, posY, posZ )
if (source == hospitalButton) then
exports.texts:output("You are now on LV Hospital! ", source, 0, 255, 0)
setElementPosition ( source, 1614, 1817, 10 )
end
end
addEventHandler ( "onClientGUIClick", guiRoot, hospital, false )